run_suite() {
rm -rf $CCACHE_DIR
+ CCACHE_NODIRECT=1
+ export CCACHE_NODIRECT
echo "starting testsuite $1"
testsuite=$1
checkstat 'cache hit (direct)' 1
checkstat 'cache hit (preprocessed)' 0
checkstat 'cache miss' 1
-
- ##################################################################
- # Reset things.
- CCACHE_NODIRECT=1
- export CCACHE_NODIRECT
- $CCACHE -C >/dev/null
}
basedir_suite() {
if grep `pwd` stderr.txt >/dev/null 2>&1; then
test_failed "Base dir (`pwd`) found in stderr:\n`cat stderr.txt`"
fi
-
- CCACHE_NODIRECT=1
- export CCACHE_NODIRECT
}
compression_suite() {
export CCACHE_DIR
CCACHE_LOGFILE=`pwd`/ccache.log
export CCACHE_LOGFILE
-CCACHE_NODIRECT=1
-export CCACHE_NODIRECT
# ---------------------------------------