Ignore locally installed ccache when running CCache unit tests

original patch by David Sommerseth <davids@redhat.com>
This commit is contained in:
Björn Esser 2015-12-06 14:00:54 +01:00
commit 790c729447

View file

@ -15,6 +15,12 @@ else
SWIG=swig
fi
# fix: Remove ccache from $PATH if it exists
# as it will influence the unit tests
PATH="`echo $PATH | \
awk -v RS=: -v ORS=: '/\/usr\/lib(64|)\/ccache(:|)/ {next} {print}' | \
sed 's/:*$//'`"
CCACHE=../ccache-swig
TESTDIR=test.$$