X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/69a49097222b02da1734b2c7a46b6ebb29f32fbc..60ce07c1e7dbeedd94a57ba21c14ff07c4ada4db:/unit-tests/run-all-unit-tests diff --git a/unit-tests/run-all-unit-tests b/unit-tests/run-all-unit-tests index 3756bd1..f6275a7 100755 --- a/unit-tests/run-all-unit-tests +++ b/unit-tests/run-all-unit-tests @@ -1,23 +1,37 @@ #!/bin/sh +unset RC_TRACE_DYLIBS +unset RC_TRACE_ARCHIVES +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/'` -all_archs="ppc ppc64 i386 x86_64" +[ "$PROCTORRUN" ] && exec ../proctor-run + +all_archs="x86_64 ppc i386 " +#armv6 thumb +valid_archs="x86_64 armv6 ppc i386 " +# clean first +../bin/make-recursive.pl clean > /dev/null + +mkdir /tmp/$$ for arch in $all_archs do echo "" echo " * * * Running all unit tests for architecture $arch * * *" # build architecture - ../bin/make-recursive.pl ARCH=$arch VALID_ARCHS="$all_archs" | ../bin/result-filter.pl + [ "$NEWTEST" ] && NT=-newtest + + ../bin/make-recursive$NT.pl ARCH=$arch VALID_ARCHS="$valid_archs" | ../bin/result-filter.pl # clean up so svn is happy ../bin/make-recursive.pl ARCH=$arch clean > /dev/null echo "" done - - -