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"
|
test: "$WITH_SCL ./test.sh"
|
||||||
require: []
|
require: []
|
||||||
adjust:
|
adjust:
|
||||||
|
- because: lld is not shipped for s390x
|
||||||
|
enabled: false
|
||||||
|
when: arch == s390x
|
||||||
|
|
||||||
# Common requirements when LLVM is not SCL-ized
|
# Common requirements when LLVM is not SCL-ized
|
||||||
- require+:
|
- require+:
|
||||||
- clang
|
- clang
|
||||||
|
@ -19,6 +19,10 @@ adjust:
|
|||||||
and trigger != build
|
and trigger != build
|
||||||
enabled: false
|
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"
|
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
||||||
environment+:
|
environment+:
|
||||||
WITH_SCL: "scl enable llvm-toolset-13.0"
|
WITH_SCL: "scl enable llvm-toolset-13.0"
|
||||||
|
@ -19,6 +19,10 @@ adjust:
|
|||||||
and trigger != build
|
and trigger != build
|
||||||
enabled: false
|
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"
|
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
||||||
environment+:
|
environment+:
|
||||||
WITH_SCL: "scl enable llvm-toolset-13.0"
|
WITH_SCL: "scl enable llvm-toolset-13.0"
|
||||||
|
@ -3,6 +3,10 @@ test: "$WITH_SCL ./test.sh"
|
|||||||
require:
|
require:
|
||||||
- gcc
|
- gcc
|
||||||
adjust:
|
adjust:
|
||||||
|
- because: lld is not shipped for s390x
|
||||||
|
enabled: false
|
||||||
|
when: arch == s390x
|
||||||
|
|
||||||
# Common requirements when LLVM is not SCL-ized
|
# Common requirements when LLVM is not SCL-ized
|
||||||
- require+:
|
- require+:
|
||||||
- lld
|
- lld
|
||||||
|
@ -6,6 +6,10 @@ tag:
|
|||||||
require:
|
require:
|
||||||
- binutils
|
- binutils
|
||||||
adjust:
|
adjust:
|
||||||
|
- because: lld is not shipped for s390x
|
||||||
|
enabled: false
|
||||||
|
when: arch == s390x
|
||||||
|
|
||||||
# Common requirements when LLVM is not SCL-ized
|
# Common requirements when LLVM is not SCL-ized
|
||||||
- require+:
|
- require+:
|
||||||
- lld
|
- lld
|
||||||
|
@ -3,6 +3,10 @@ test: "$WITH_SCL ./test.sh"
|
|||||||
duration: 30m
|
duration: 30m
|
||||||
require: []
|
require: []
|
||||||
adjust:
|
adjust:
|
||||||
|
- because: lld is not shipped for s390x
|
||||||
|
enabled: false
|
||||||
|
when: arch == s390x
|
||||||
|
|
||||||
# Common requirements when LLVM is not SCL-ized
|
# Common requirements when LLVM is not SCL-ized
|
||||||
- require+:
|
- require+:
|
||||||
- lld
|
- lld
|
||||||
|
Loading…
Reference in New Issue
Block a user