Skip this test if environment file XCFILE is set to 1.

This commit is contained in:
Andrew Wood
2024-12-05 21:52:57 +00:00
parent 1e7c92a107
commit 02e6d0e04c
+5
View File
@@ -5,6 +5,11 @@
true "${testSubject:?not set - call this from 'make check'}"
true "${workFile1:?not set - call this from 'make check'}"
if test "${XCTEST}" = "1"; then
echo "cross-compile flag set - skipping as local make will not run"
exit 77
fi
makeDir="${testSubject%/*}"
if ! test -d "${makeDir}"; then
echo "could not find the directory to run \`make' in"