summaryrefslogtreecommitdiff
path: root/CCache/test.sh
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2009-01-07 11:24:07 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2009-01-07 11:24:07 +0000
commita80aa441aa9cfb95bed9ace464aa37e7616b1f9c (patch)
tree0a8e725d18c5c8df0fd67e941cdab1f687183ea5 /CCache/test.sh
parente3f63c33f3a4b3d5b42833be5ae1e053d0a67bae (diff)
downloadswig-a80aa441aa9cfb95bed9ace464aa37e7616b1f9c.tar.gz
reorder new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'CCache/test.sh')
-rwxr-xr-xCCache/test.sh18
1 files 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