diff --git a/tests/README.md b/tests/README.md new file mode 100644 index 0000000..39c94b2 --- /dev/null +++ b/tests/README.md @@ -0,0 +1,6 @@ +# Gating testplans for libomp + +The tests for libomp are in a separate repo: https://src.fedoraproject.org/tests/libomp +This directory should contain only fmf plans (such as build-gating.fmf) which import +the tests from the tests repo. This can be done using the "url" parameter of the +plan's "discover" step. Reference: https://tmt.readthedocs.io/en/stable/spec/plans.html#fmf diff --git a/tests/build-gating.fmf b/tests/build-gating.fmf index e1bd87c..61a3bf4 100644 --- a/tests/build-gating.fmf +++ b/tests/build-gating.fmf @@ -29,10 +29,14 @@ adjust: when: "collection == llvm-toolset-14.0" discover: + - name: libomp-tests + how: fmf + url: https://src.fedoraproject.org/tests/libomp.git + ref: main - name: upstream-llvm-integration-testsuite how: fmf - url: https://src.fedoraproject.org/rpms/llvm.git - ref: rawhide + url: https://src.fedoraproject.org/tests/llvm.git + ref: main test: integration-test-suite execute: how: tmt