]> git.saurik.com Git - apple/ld64.git/blob - ld64-134.9/unit-tests/run-all-unit-tests-debug
a239748f3b9d2bbfd61dda4e9bfeb67f4d8da788
[apple/ld64.git] / ld64-134.9 / unit-tests / run-all-unit-tests-debug
1 #!/bin/sh
2
3 # cd into test-cases directory
4 cd `echo "$0" | sed 's/run-all-unit-tests/test-cases/'`
5
6 [ "$PROCTORRUN" ] && exec ../proctor-run
7
8 all_archs="ppc ppc64 i386 x86_64"
9
10 mkdir /tmp/$$
11 for arch in $all_archs
12 do
13 echo ""
14 echo " * * * Running all unit tests for architecture $arch * * *"
15
16 # build architecture
17 [ "$NEWTEST" ] && NT=-newtest
18
19 mkdir /tmp/$$
20 ../bin/make-recursive$NT.pl ARCH=$arch VALID_ARCHS="$all_archs" | tee /tmp/$$/raw | ../bin/result-filter.pl | tee /tmp/$$/sum
21
22 # clean up so svn is happy
23 ../bin/make-recursive.pl ARCH=$arch clean > /dev/null
24
25 echo ""
26 done