]>
git.saurik.com Git - apple/dyld.git/blob - unit-tests/run-all-unit-tests
3 # cd into test-cases directory
4 cd `echo "$0" | sed 's/run-all-unit-tests/test-cases/'`
7 echo " * * * Running all unit tests for 32-bits * * *"
10 ..
/bin
/make-recursive.pl clean
> /dev
/null
12 # build default architecture
13 ..
/bin
/make-recursive.pl
| ..
/bin
/result
-filter.pl
15 # if G5, then also run all test cases built for ppc64
16 if [ `machine` = "ppc970" ]
19 echo " * * * Running all unit tests for 64-bits * * *"
22 ..
/bin
/make-recursive.pl clean
> /dev
/null
24 # build 64-bit architecture
25 ..
/bin
/make-recursive.pl ARCH
="-arch ppc64" | ..
/bin
/result
-filter.pl
28 # if Intel, then also run all test cases under emulation
29 if [ `sysctl -n hw.machine` = "i386" ]
32 echo " * * * Running all unit tests for emulated 32-bits * * *"
35 ..
/bin
/make-recursive.pl clean
> /dev
/null
37 # build ppc architecture
38 ..
/bin
/make-recursive.pl ARCH
="-arch ppc" | ..
/bin
/result
-filter.pl
41 # if 64-bit capable Intel, then also run all test cases for 64-bits
42 if [ `sysctl -n hw.optional.x86_64` = "1" ]
45 echo " * * * Running all unit tests for 64-bits * * *"
48 ..
/bin
/make-recursive.pl clean
> /dev
/null
50 # build x86_64 architecture
51 ..
/bin
/make-recursive.pl ARCH
="-arch x86_64" | ..
/bin
/result
-filter.pl