From 03ff197b96831f14e5759494a20521a98ea33ab2 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 --- .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 b84d677e9c..265dbd54f0 100755 --- a/.gitlab-ci/run-test.sh +++ b/.gitlab-ci/run-test.sh @@ -116,7 +116,9 @@ fi if is_run_selected rpm+meson; then do_clean - 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 is_run_selected tarball && [ "$NM_BUILD_TARBALL" = 1 ]; then