]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/run-all-unit-tests
ld64-77.tar.gz
[apple/ld64.git] / unit-tests / run-all-unit-tests
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 ../bin/make-recursive$NT.pl ARCH=$arch VALID_ARCHS="$all_archs" | ../bin/result-filter.pl
20
21 # clean up so svn is happy
22 ../bin/make-recursive.pl ARCH=$arch clean > /dev/null
23
24 echo ""
25 done