]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/run-all-unit-tests
ld64-77.tar.gz
[apple/ld64.git] / unit-tests / run-all-unit-tests
index 3756bd156c928d4d189b248d66b6941e7057f20d..945df480e82852770d610fc6dfb64153485624c3 100755 (executable)
@@ -3,21 +3,23 @@
 # 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"
 
+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="$all_archs" | ../bin/result-filter.pl
 
        # clean up so svn is happy
        ../bin/make-recursive.pl ARCH=$arch clean > /dev/null
 
        echo ""
 done
-
-
-