lld/tests/build-gating-alternatives.fmf
Miloš Prchlík f5a68fd4b0 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.
2022-02-15 11:21:19 +01:00

40 lines
1001 B
Plaintext

#
# Build/PR gating tests for *LLVM 13*
#
# Compatible with various LLVM 13 distributions:
#
# * Fedora (ursine packages)
# * Centos 9 stream (ursine packages)
# * RHEL-9 (ursine packages)
# * RHEL-8 (Red Hat module)
# * RHEL-7 (software collection)
#
summary: LLD tests for build/PR gating, testing alternatives and spoiling the installation
adjust:
- because: "Plan to be ran when either executed locally, or executed by CI system to gate a build or PR."
when: >-
trigger is defined
and trigger != commit
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"
when: "collection == llvm-toolset-13.0"
discover:
- name: lld-tests
how: fmf
test: ld-alternative
execute:
how: tmt
provision:
hardware:
memory: ">= 4 GiB"