Update testplan to new metadata.
Remove unused cross packages script Add integration testsuite to the plan Add prepare steps needed in RHEL/CentOS
This commit is contained in:
parent
6c3812f472
commit
fa8bc5eb0b
3 changed files with 51 additions and 54 deletions
|
|
@ -1,47 +0,0 @@
|
|||
#
|
||||
# Build/PR gating tests for compiler-rt
|
||||
#
|
||||
# Compatible with various LLVM distributions:
|
||||
#
|
||||
# * Fedora (ursine packages)
|
||||
# * Centos 9 stream (ursine packages)
|
||||
# * RHEL-9 (ursine packages)
|
||||
# * RHEL-8 (Red Hat module)
|
||||
# * RHEL-7 (software collection)
|
||||
#
|
||||
|
||||
summary: compiler-rt 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
|
||||
|
||||
- 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"
|
||||
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
||||
environment+:
|
||||
WITH_SCL: "scl enable llvm-toolset-14.0"
|
||||
when: "collection == llvm-toolset-14.0"
|
||||
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
||||
environment+:
|
||||
WITH_SCL: "scl enable llvm-toolset-15.0"
|
||||
when: "collection == llvm-toolset-15.0"
|
||||
|
||||
discover:
|
||||
- name: compiler-rt tests
|
||||
how: fmf
|
||||
|
||||
prepare:
|
||||
- how: shell
|
||||
script: sh ./setup_cross_packages.sh
|
||||
|
||||
execute:
|
||||
how: tmt
|
||||
provision:
|
||||
hardware:
|
||||
memory: ">= 4 GiB"
|
||||
51
plans/build-gating.fmf
Normal file
51
plans/build-gating.fmf
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
#
|
||||
# Build/PR gating tests for compiler-rt
|
||||
#
|
||||
# Compatible with various LLVM distributions:
|
||||
#
|
||||
# * Fedora (ursine packages)
|
||||
# * Centos 9 stream (ursine packages)
|
||||
# * RHEL-9 (ursine packages)
|
||||
# * RHEL-8 (Red Hat module)
|
||||
# * RHEL-7 (software collection)
|
||||
#
|
||||
|
||||
summary: compiler-rt 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
|
||||
|
||||
- because: "On RHEL-8+, CRB must be enabled to provide rarer packages"
|
||||
prepare+:
|
||||
- name: Enable CRB
|
||||
how: shell
|
||||
script: dnf config-manager --set-enabled *-CRB
|
||||
when: >-
|
||||
distro == rhel and distro >= rhel-8
|
||||
|
||||
- because: "On CentOS, CRB must be enabled to provide rarer packages"
|
||||
prepare+:
|
||||
- name: Enable CRB
|
||||
how: shell
|
||||
script: dnf install -y 'dnf-command(config-manager)' && dnf config-manager --set-enabled crb
|
||||
when: >-
|
||||
distro == centos
|
||||
|
||||
discover:
|
||||
- name: compiler-rt-tests
|
||||
how: fmf
|
||||
- name: upstream-llvm-integration-testsuite
|
||||
how: fmf
|
||||
url: https://src.fedoraproject.org/tests/llvm.git
|
||||
ref: main
|
||||
test: integration-test-suite
|
||||
|
||||
execute:
|
||||
how: tmt
|
||||
provision:
|
||||
hardware:
|
||||
memory: ">= 4 GiB"
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
if [[ x"$KOJI_TASK_ID" != "x" ]]; then
|
||||
dnf install -y koji
|
||||
koji download-build --noprogress -a i686 --task-id $KOJI_TASK_ID
|
||||
dnf install -y ./compiler-rt-*.i686.rpm
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue