From bccd81cefce332b33f5ddbf968c18f68a28888d2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 25 Sep 2003 07:49:50 +0200 Subject: make sure we hash the cpp extension to ensure we don't mistake a .i for a .ii --- test.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'test.sh') diff --git a/test.sh b/test.sh index aca52d4e..4ff1e3e9 100755 --- a/test.sh +++ b/test.sh @@ -220,8 +220,17 @@ basetests() { $CCACHE_COMPILE -c test1.i checkstat 'cache hit' 10 checkstat 'cache miss' 38 - + testname="direct .ii file" + mv test1.i test1.ii + $CCACHE_COMPILE -c test1.ii + checkstat 'cache hit' 10 + checkstat 'cache miss' 39 + + $CCACHE_COMPILE -c test1.ii + checkstat 'cache hit' 11 + checkstat 'cache miss' 39 + testname="zero-stats" $CCACHE -z > /dev/null checkstat 'cache hit' 0 -- cgit v1.2.1