From fd1eaf7dd7e93a8498af95a4bde2947026f2878c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8D=C3=B1igo=20Huguet?= Date: Tue, 12 Nov 2024 15:38:17 +0100 Subject: [PATCH] ci: fix test failures on non Fedora distros (cherry picked from commit 03ff197b96831f14e5759494a20521a98ea33ab2) --- .gitlab-ci/run-test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/run-test.sh b/.gitlab-ci/run-test.sh index 0e400622ac..2008c18978 100755 --- a/.gitlab-ci/run-test.sh +++ b/.gitlab-ci/run-test.sh @@ -121,7 +121,9 @@ if check_run_clean meson+clang; then fi if check_run_clean rpm+meson; then - test $IS_FEDORA = 1 && ./contrib/fedora/rpm/build_clean.sh -g -w crypto_gnutls -w debug -w iwd -w test -w meson || die_with_testlog + if [[ $IS_FEDORA = 1 ]]; then + ./contrib/fedora/rpm/build_clean.sh -g -w crypto_gnutls -w debug -w iwd -w test -w meson || die_with_testlog + fi fi if check_run_clean tarball && [ "$NM_BUILD_TARBALL" = 1 ]; then