diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-09-25 07:49:50 +0200 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-09-25 07:49:50 +0200 |
commit | bccd81cefce332b33f5ddbf968c18f68a28888d2 (patch) | |
tree | 2484d6ef2b0f99f80541700a4ab5c04a2ff1fe58 /test.sh | |
parent | 27f95a9bded2641357901b8648523991720fb008 (diff) | |
download | ccache-bccd81cefce332b33f5ddbf968c18f68a28888d2.tar.gz |
make sure we hash the cpp extension to ensure we don't mistake a .i
for a .ii
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |