From 02e6d0e04ce6a76a013dc2291a2541a8e308615f Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Thu, 5 Dec 2024 21:52:57 +0000 Subject: [PATCH] Skip this test if environment file XCFILE is set to 1. --- tests/Bug_-_Install_all_files.test | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/Bug_-_Install_all_files.test b/tests/Bug_-_Install_all_files.test index 5158254..1fcd2e7 100755 --- a/tests/Bug_-_Install_all_files.test +++ b/tests/Bug_-_Install_all_files.test @@ -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"