From 39d1cda6ae40a411e72871d425d3ae5f9b35c245 Mon Sep 17 00:00:00 2001 From: Jesus Checa Hidalgo Date: Mon, 12 Sep 2022 11:58:40 +0200 Subject: [PATCH] Migrate tests to tests/libomp repo --- tests/README.md | 6 ++++++ tests/build-gating.fmf | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 tests/README.md 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