From 39906cf8c3538d5e425ba2330c434c27cc541870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Posp=C3=AD=C5=A1il?= Date: Wed, 27 Aug 2025 23:48:07 +0200 Subject: [PATCH] move helper gating script to tests dir Sometimes changes to the helper script for the gating plan are needed without a ticket. Since this is a shell script, it is not exempt from dist-git policy that requires a ticket for any non-test change. The gating plan itself is a fmf file which is exempt, so only this used to be a problem in the past. Because of the STI test format, the whole tests folder is exempt too. Moving the helper script there to avoid the need for tickets. --- plan-gating.fmf | 6 +++--- prepare-tests.sh => tests/prepare-tests.sh | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename prepare-tests.sh => tests/prepare-tests.sh (100%) diff --git a/plan-gating.fmf b/plan-gating.fmf index 78d1116..85d54c3 100644 --- a/plan-gating.fmf +++ b/plan-gating.fmf @@ -8,21 +8,21 @@ discover: tests: - name: tier0 test: | - ./prepare-tests.sh + ./tests/prepare-tests.sh $TMT_SOURCE_DIR/pcs-*/pcs_test/suite --tier0 -v --vanilla --installed duration: 10m tier: 0 tag: fast - name: tier1 test: | - ./prepare-tests.sh + ./tests/prepare-tests.sh $TMT_SOURCE_DIR/pcs-*/pcs_test/suite --tier1 -v --vanilla --installed duration: 2h tier: 1 - name: smoke test: | systemctl start pcsd - ./prepare-tests.sh + ./tests/prepare-tests.sh $TMT_SOURCE_DIR/pcs-*/pcs_test/smoke.sh duration: 10m tier: smoke diff --git a/prepare-tests.sh b/tests/prepare-tests.sh similarity index 100% rename from prepare-tests.sh rename to tests/prepare-tests.sh