lld/tests/build-gating-alternatives.fmf

36 lines
1.2 KiB
Plaintext
Raw Normal View History

#
# Build/PR gating tests for *LLVM 13*
#
# Imports and runs tests provided by Fedora LLVM git for the matching LLVM version.
#
# NOTE: *always* keep this file in sync with upstream, i.e. Fedora. Since we cannot "discover" a plan,
# we must duplicate at least some part of upstream plan setup, like `adjust` or `provision`. Not necessarily
# all steps, but if we do need some of them here, let's focus on making changes in upstream first, to preserve
# one source of truth. Once TMT learns to include whole plans, we could drop the copied content from here.
#
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 supported in s390x"
enabled: false
when: arch == s390x
discover:
- name: lld-upstream-tests
how: fmf
test: ld-alternative
url: https://src.fedoraproject.org/tests/lld.git
ref: main
execute:
how: tmt
provision:
hardware:
memory: ">= 4 GiB"