]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/run-all-unit-tests
ld64-123.2.tar.gz
[apple/ld64.git] / unit-tests / run-all-unit-tests
index 945df480e82852770d610fc6dfb64153485624c3..f6275a758569b5fabf33e1d7f6ceb13b52b3a4e1 100755 (executable)
@@ -1,11 +1,23 @@
 #!/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/'`
 
 [ "$PROCTORRUN" ] && exec ../proctor-run
 
-all_archs="ppc ppc64 i386 x86_64"
+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
@@ -16,7 +28,7 @@ do
        # build architecture
        [ "$NEWTEST" ] && NT=-newtest
 
-       ../bin/make-recursive$NT.pl ARCH=$arch VALID_ARCHS="$all_archs" | ../bin/result-filter.pl
+       ../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