From a80aa441aa9cfb95bed9ace464aa37e7616b1f9c Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Wed, 7 Jan 2009 11:24:07 +0000 Subject: [PATCH] reorder new test git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11036 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- CCache/test.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/CCache/test.sh b/CCache/test.sh index 4c735eb87..0daa30561 100755 --- a/CCache/test.sh +++ b/CCache/test.sh @@ -242,15 +242,6 @@ basetests() { checkstat 'cache hit' 10 checkstat 'cache miss' 38 - testname="stripc" # This test might not be portable - CCACHE_STRIPC=1 $CCACHE_COMPILE -c test1.c - checkstat 'cache hit' 10 - checkstat 'cache miss' 39 - - CCACHE_STRIPC=1 $CCACHE_COMPILE -c test1.c - checkstat 'cache hit' 11 - checkstat 'cache miss' 39 - # removed these tests as some compilers (including newer versions of gcc) # determine which language to use based on .ii/.i extension, and C++ may # not be installed @@ -264,6 +255,15 @@ basetests() { # checkstat 'cache hit' 11 # checkstat 'cache miss' 39 + testname="stripc" # This test might not be portable + CCACHE_STRIPC=1 $CCACHE_COMPILE -c test1.c + checkstat 'cache hit' 10 + checkstat 'cache miss' 39 + + CCACHE_STRIPC=1 $CCACHE_COMPILE -c test1.c + checkstat 'cache hit' 11 + checkstat 'cache miss' 39 + testname="zero-stats" $CCACHE -z > /dev/null checkstat 'cache hit' 0