From e04d939dbfabd5aec357ca108395d40ae72fd7fa Mon Sep 17 00:00:00 2001 From: Katerina Koukiou Date: Fri, 2 Aug 2024 16:16:37 +0200 Subject: [PATCH] infra: run all tests when triggered with non bots defined scenario The are a few more TEST_SCENARIOS values aside from 'expensive' and 'other'. Such an example are the anaconda-pr-* and cockpit-pr-* scenarios, which are defined when we trigger Web UI tests from anaconda core and cockpit repositories respectively. --- test/run | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/run b/test/run index e1534ddc0..30cd73b50 100755 --- a/test/run +++ b/test/run @@ -28,13 +28,11 @@ case "${TEST_SCENARIO:=}" in *other*) RUN_OPTS="$(echo "$ALL_TESTS" | grep -Ev "$RE_EXPENSIVE")" ;;& + *) + RUN_OPTS="$ALL_TESTS" + ;;& esac -if [ -n "$TEST_SCENARIO" ] && [ -z "$RUN_OPTS" ]; then - echo "Unknown test scenario: $TEST_SCENARIO" - exit 1 -fi - # test runs in kernel_t context and triggers massive amounts of SELinux # denials; SELinux gets disabled, but would still trigger unexpected messages # we create huge VMs, so we need to reduce parallelism on CI