tests: parametrize package name in embedded interpreter test
It's different in collection, and therefore rpm query fails.
This commit is contained in:
parent
ef81544fe6
commit
0725b7a11a
@ -6,9 +6,13 @@ adjust:
|
||||
# Common requirements when LLVM is not SCL-ized
|
||||
- require+:
|
||||
- lldb
|
||||
environment+:
|
||||
LLDB_PACKAGE: lldb
|
||||
when: "collection is not defined"
|
||||
|
||||
# Requirements for SCL-ized LLVM
|
||||
- require+:
|
||||
- llvm-toolset-13.0-lldb
|
||||
environment+:
|
||||
LLDB_PACKAGE: llvm-toolset-13.0-lldb
|
||||
when: "collection == llvm-toolset-13.0"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh -eux
|
||||
|
||||
# Verify the formal side of things, lldb should really depend on its Python bits.
|
||||
rpm -q --requires lldb | grep python3-lldb
|
||||
rpm -q --requires "$LLDB_PACKAGE" | grep python3-lldb
|
||||
|
||||
# Then verify things actually works.
|
||||
g++ -g test.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user