tests: skip on s390x
lld isn't being built nor shipped for this architecture, unlike many other LLVM components. Make tests aware of their relevancy.
This commit is contained in:
parent
454fa1a876
commit
f5a68fd4b0
@ -2,6 +2,10 @@ summary: Test lld with clang
|
||||
test: "$WITH_SCL ./test.sh"
|
||||
require: []
|
||||
adjust:
|
||||
- because: lld is not shipped for s390x
|
||||
enabled: false
|
||||
when: arch == s390x
|
||||
|
||||
# Common requirements when LLVM is not SCL-ized
|
||||
- require+:
|
||||
- clang
|
||||
|
@ -19,6 +19,10 @@ adjust:
|
||||
and trigger != build
|
||||
enabled: false
|
||||
|
||||
- because: lld is not shipped for s390x
|
||||
enabled: false
|
||||
when: arch == s390x
|
||||
|
||||
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
||||
environment+:
|
||||
WITH_SCL: "scl enable llvm-toolset-13.0"
|
||||
|
@ -19,6 +19,10 @@ adjust:
|
||||
and trigger != build
|
||||
enabled: false
|
||||
|
||||
- because: lld is not shipped for s390x
|
||||
enabled: false
|
||||
when: arch == s390x
|
||||
|
||||
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
||||
environment+:
|
||||
WITH_SCL: "scl enable llvm-toolset-13.0"
|
||||
|
@ -3,6 +3,10 @@ test: "$WITH_SCL ./test.sh"
|
||||
require:
|
||||
- gcc
|
||||
adjust:
|
||||
- because: lld is not shipped for s390x
|
||||
enabled: false
|
||||
when: arch == s390x
|
||||
|
||||
# Common requirements when LLVM is not SCL-ized
|
||||
- require+:
|
||||
- lld
|
||||
|
@ -6,6 +6,10 @@ tag:
|
||||
require:
|
||||
- binutils
|
||||
adjust:
|
||||
- because: lld is not shipped for s390x
|
||||
enabled: false
|
||||
when: arch == s390x
|
||||
|
||||
# Common requirements when LLVM is not SCL-ized
|
||||
- require+:
|
||||
- lld
|
||||
|
@ -3,6 +3,10 @@ test: "$WITH_SCL ./test.sh"
|
||||
duration: 30m
|
||||
require: []
|
||||
adjust:
|
||||
- because: lld is not shipped for s390x
|
||||
enabled: false
|
||||
when: arch == s390x
|
||||
|
||||
# Common requirements when LLVM is not SCL-ized
|
||||
- require+:
|
||||
- lld
|
||||
|
Loading…
Reference in New Issue
Block a user