Ignore locally installed ccache when running CCache unit tests
original patch by David Sommerseth <davids@redhat.com>
This commit is contained in:
parent
0c307b8a99
commit
790c729447
1 changed files with 6 additions and 0 deletions
|
|
@ -15,6 +15,12 @@ else
|
||||||
SWIG=swig
|
SWIG=swig
|
||||||
fi
|
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
|
CCACHE=../ccache-swig
|
||||||
TESTDIR=test.$$
|
TESTDIR=test.$$
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue