From f3f77fa4fc012780c711e4ee4e9fe50e0585aa03 Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Mon, 15 Feb 2021 11:59:33 +0100 Subject: [PATCH] Check for "file not removed" in system test output Run this check only when in Git repository, because run.sh produces the "file not removed" warnings only when in Git repository. (cherry picked from commit 4a2778abdff4b91bde3cdc5cf28e22a77494b206) --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 713b55ba3d..ada73bd644 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -292,6 +292,7 @@ stages: script: - ( cd bin/tests/system && make -j${TEST_PARALLEL_JOBS:-1} -k test V=1 ) - test -s bin/tests/system/systests.output + - if git rev-parse > /dev/null 2>&1; then ( ! grep "^I:.*:file.*not removed$" bin/tests/system/systests.output ); fi .system_test: &system_test_job <<: *system_test_common