]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: List all suites in all_suites and exclude unsupported suites on win32
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 8 Aug 2010 17:47:25 +0000 (19:47 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 8 Aug 2010 17:47:25 +0000 (19:47 +0200)
test.sh

diff --git a/test.sh b/test.sh
index 62d35db46d6d5834f27e6bbb945e2630a8e4119d..150cfcb1e7e4c008f8adb0361feb32407b0b0e31 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -1554,10 +1554,12 @@ export CCACHE_NODIRECT
 
 all_suites="
 base
+link          !win32
 hardlink
 cpp2
 nlevels4
 nlevels1
+basedir       !win32
 direct
 compression
 readonly
@@ -1572,11 +1574,12 @@ case $host_os in
         CCACHE_DETECT_SHEBANG=1
         DEVNULL=NUL
         PATH_DELIM=";"
+        all_suites="`echo "$all_suites" | grep -v '!win32'`"
         ;;
     *)
         DEVNULL=/dev/null
         PATH_DELIM=":"
-        all_suites="$all_suites link basedir"
+        all_suites="`echo "$all_suites" | cut -d' ' -f1`"
         ;;
 esac