]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Mark tests as skipped for unsupported compilers
authorGregor Jasny <gregor.jasny@logmein.com>
Tue, 29 Jun 2021 09:27:38 +0000 (11:27 +0200)
committerGregor Jasny <gregor.jasny@logmein.com>
Tue, 29 Jun 2021 09:48:46 +0000 (11:48 +0200)
test/run

index aa3d288f3eefeca2328d7de351523b57cb312173..57c7dd8d5b91305da4e2aa52a2ac73eead50a667 100755 (executable)
--- a/test/run
+++ b/test/run
@@ -480,8 +480,8 @@ case $compiler_version in
         CLANG_VERSION_SUFFIX=$(echo "${COMPILER%% *}" | sed 's/.*clang//')
         ;;
     *)
-        echo "WARNING: Compiler $COMPILER not supported (version: $compiler_version) -- not running tests" >&2
-        exit 0
+        echo "WARNING: Compiler $COMPILER not supported (version: $compiler_version) -- Skipped running tests" >&2
+        exit $skip_code
         ;;
 esac