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

View File

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

View File

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

View File

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

View File

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

View File

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