Allow wrappers to be missing; quote directory name from make
Co-authored-by: Gilles Peskine <gilles.peskine@arm.com>
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index b1a3462..4065e71 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -205,14 +205,8 @@
# unless there is an error. This reduces logging overhead in the CI.
#
# Note that the cmake wrapper breaks unless we use an absolute path here.
- export PATH=${PWD}/tests/scripts/quiet:$PATH
- if [[ ! -x ${PWD}/tests/scripts/quiet/make ]]; then
- echo "can't find quiet/make"
- exit 1
- fi
- if [[ ! -x ${PWD}/tests/scripts/quiet/cmake ]]; then
- echo "can't find quiet/cmake"
- exit 1
+ if [[ -e ${PWD}/tests/scripts/quiet ]]; then
+ export PATH=${PWD}/tests/scripts/quiet:$PATH
fi
}