X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/77cc3118ce7a3a70a0a7364d77ae1eb766a477e7..fb9a160cc46cd88a41dda5ab61012c5572e56f33:/unit-tests/run-all-unit-tests diff --git a/unit-tests/run-all-unit-tests b/unit-tests/run-all-unit-tests index e21c2b3..9285128 100755 --- a/unit-tests/run-all-unit-tests +++ b/unit-tests/run-all-unit-tests @@ -6,13 +6,21 @@ unset LD_TRACE_DYLIBS unset LD_TRACE_ARCHIVES export DYLD_FALLBACK_LIBRARY_PATH=${DYLD_FALLBACK_LIBRARY_PATH}:/Developer/usr/lib +export MACOSX_DEPLOYMENT_TARGET=10.7 # cd into test-cases directory cd `echo "$0" | sed 's/run-all-unit-tests/test-cases/'` [ "$PROCTORRUN" ] && exec ../proctor-run -all_archs="x86_64 armv6 thumb ppc ppc64 i386 " -valid_archs="x86_64 armv6 ppc ppc64 i386 " +all_archs="x86_64 i386" +valid_archs="x86_64 i386" +# only test arm code if iOS platform tools installed +if [ -d /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs ] +then + all_archs="${all_archs} armv7" + valid_archs="${valid_archs} armv7" +fi + # clean first ../bin/make-recursive.pl clean > /dev/null