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:
Miloš Prchlík 2022-02-15 11:15:20 +01:00
parent 454fa1a876
commit f5a68fd4b0
6 changed files with 24 additions and 0 deletions

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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