]>
git.saurik.com Git - apple/ld64.git/blob - unit-tests/run-all-unit-tests
4 unset RC_TRACE_ARCHIVES
6 unset LD_TRACE_ARCHIVES
8 # cd into test-cases directory
9 cd `echo "$0" | sed 's/run-all-unit-tests/test-cases/'`
11 [ "$PROCTORRUN" ] && exec ..
/proctor
-run
13 all_archs
="x86_64 i386"
14 valid_archs
="x86_64 i386"
15 # only test arm code if iOS platform tools installed
16 if [ -d /Applications
/Xcode.app
/Contents
/Developer
/Platforms
/iPhoneOS.platform
/Developer
/SDKs
]
18 all_archs
="${all_archs} armv7"
19 valid_archs
="${valid_archs} armv7"
24 ..
/bin
/make-recursive.pl clean
> /dev
/null
27 for arch
in $all_archs
30 echo " * * * Running all unit tests for architecture $arch * * *"
33 [ "$NEWTEST" ] && NT
=-newtest
35 ..
/bin
/make-recursive$NT.pl ARCH
=$arch VALID_ARCHS
="$valid_archs" | ..
/bin
/result
-filter.pl
37 # clean up so svn is happy
38 ..
/bin
/make-recursive.pl ARCH
=$arch clean
> /dev
/null