From 892a700adecb2a186ac127768cfe0fafb0313ada Mon Sep 17 00:00:00 2001 From: Jesus Checa Hidalgo Date: Tue, 15 Apr 2025 14:01:04 +0200 Subject: [PATCH] Remove testplans --- tests/build-gating-alternatives.fmf | 31 ----------------- tests/build-gating.fmf | 54 ----------------------------- 2 files changed, 85 deletions(-) delete mode 100644 tests/build-gating-alternatives.fmf delete mode 100644 tests/build-gating.fmf diff --git a/tests/build-gating-alternatives.fmf b/tests/build-gating-alternatives.fmf deleted file mode 100644 index 8a798a4..0000000 --- a/tests/build-gating-alternatives.fmf +++ /dev/null @@ -1,31 +0,0 @@ -# -# 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 - -discover: - - name: lld-upstream-tests - how: fmf - test: ld-alternative - url: https://src.fedoraproject.org/rpms/lld.git - ref: rawhide -execute: - how: tmt -provision: - hardware: - memory: ">= 4 GiB" diff --git a/tests/build-gating.fmf b/tests/build-gating.fmf deleted file mode 100644 index 6ce97b8..0000000 --- a/tests/build-gating.fmf +++ /dev/null @@ -1,54 +0,0 @@ -# -# 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 -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 - - # Unfortunately, TMT does not support more declarative approach, we need to run commands on our own. - - because: "On RHEL, CRB must be enabled to provide rarer packages" - when: >- - distro == rhel-9 - or distro == rhel-8 - prepare+: - - name: Enable CRB - how: shell - script: dnf config-manager --set-enabled rhel-CRB - - - because: "On CentOS, CRB must be enabled to provide rarer packages" - when: >- - distro == centos - prepare+: - - name: Enable CRB - how: shell - script: dnf config-manager --set-enabled crb - -discover: - - name: lld-upstream-tests - how: fmf - filter: "tag:-spoils-installation" - url: https://src.fedoraproject.org/rpms/lld.git - ref: rawhide - - name: upstream-llvm-integration-testsuite - how: fmf - url: https://src.fedoraproject.org/rpms/llvm.git - ref: rawhide - test: integration-test-suite -execute: - how: tmt -provision: - hardware: - memory: ">= 4 GiB"