From 84fc7d1ce515cbeb783d254769b0721f8b264a86 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sat, 12 Dec 2009 21:46:36 +0100 Subject: [PATCH] Reenable .ii tests Hopefully, it's OK to require a working C++ installation to run the tests. --- test.sh | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/test.sh b/test.sh index ce48caf0e..da9ff3798 100755 --- a/test.sh +++ b/test.sh @@ -237,18 +237,15 @@ base_tests() { checkstat 'cache hit (preprocessed)' 10 checkstat 'cache miss' 38 - # 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 -# testname="direct .ii file" -# mv test1.i test1.ii -# $CCACHE_COMPILE -c test1.ii -# checkstat 'cache hit (preprocessed)' 10 -# checkstat 'cache miss' 39 - -# $CCACHE_COMPILE -c test1.ii -# checkstat 'cache hit (preprocessed)' 11 -# checkstat 'cache miss' 39 + testname="direct .ii file" + mv test1.i test1.ii + $CCACHE_COMPILE -c test1.ii + checkstat 'cache hit (preprocessed)' 10 + checkstat 'cache miss' 39 + + $CCACHE_COMPILE -c test1.ii + checkstat 'cache hit (preprocessed)' 11 + checkstat 'cache miss' 39 testname="stderr-files" num=`find $CCACHE_DIR -name '*.stderr' | wc -l` -- 2.47.3