]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/run-all-unit-tests
ld64-84.1.2.tar.gz
[apple/ld64.git] / unit-tests / run-all-unit-tests
index a18560a475bcba86d212adf040dba653c6b107bf..4ee740337b4f0ea0812e8f9ea4a7cdb50bedb693 100755 (executable)
@@ -1,23 +1,32 @@
 #!/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
 # cd into test-cases directory
 cd `echo "$0" | sed 's/run-all-unit-tests/test-cases/'`
 
-all_archs="ppc ppc64 i386"
+[ "$PROCTORRUN" ] && exec ../proctor-run
+
+all_archs="x86_64 armv6 thumb ppc ppc64 i386  "
+valid_archs="x86_64 armv6 ppc ppc64 i386  "
 
+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
-
-
-