summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFam Zheng2017-10-18 09:38:41 +0200
committerFam Zheng2017-10-20 08:28:50 +0200
commit6a2e11974fa6c4eaee6b2b156b1b4e03ca983bab (patch)
tree85f174f8a0da7a22840a209f1df9f0b23f1cdafa /tests
parentdocker: fix out-of-tree 'make docker-test-build@debian-powerpc-cross' (diff)
downloadqemu-6a2e11974fa6c4eaee6b2b156b1b4e03ca983bab.tar.gz
qemu-6a2e11974fa6c4eaee6b2b156b1b4e03ca983bab.tar.xz
qemu-6a2e11974fa6c4eaee6b2b156b1b4e03ca983bab.zip
docker: Fix PATH for ccache
Before bcd7f06f57fb6f780a3e2f7a46c22b6f6c8238aa we source /etc/profile so the PATH included the right paths to ccache binaries. Now we need to update $PATH explicitly from run script. Keep the old /usr/lib around just so that in the future, ccache from 32 bit images will just work. Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <20171018073841.30062-1-famz@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/docker/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/run b/tests/docker/run
index 642084bcb8..9dd362bb98 100755
--- a/tests/docker/run
+++ b/tests/docker/run
@@ -18,7 +18,7 @@ fi
BASE="$(dirname $(readlink -e $0))"
# Prepare the environment
-export PATH=/usr/lib/ccache:$PATH
+export PATH=/usr/lib/ccache:/usr/lib64/ccache:$PATH
if test -n "$J"; then
export MAKEFLAGS="$MAKEFLAGS -j$J"