]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | ||
3 | unset RC_TRACE_DYLIBS | |
4 | unset RC_TRACE_ARCHIVES | |
5 | unset LD_TRACE_DYLIBS | |
6 | unset LD_TRACE_ARCHIVES | |
7 | ||
8 | export DYLD_FALLBACK_LIBRARY_PATH=${DYLD_FALLBACK_LIBRARY_PATH}:/Developer/usr/lib | |
9 | # cd into test-cases directory | |
10 | cd `echo "$0" | sed 's/run-all-unit-tests/test-cases/'` | |
11 | ||
12 | [ "$PROCTORRUN" ] && exec ../proctor-run | |
13 | ||
14 | all_archs="x86_64 ppc i386 " | |
15 | #armv6 thumb | |
16 | valid_archs="x86_64 armv6 ppc i386 " | |
17 | ||
18 | # clean first | |
19 | ../bin/make-recursive.pl clean > /dev/null | |
20 | ||
21 | mkdir /tmp/$$ | |
22 | mkdir $BUILD_ROOT/lib | |
23 | ln -s /Developer/usr/lib/libLTO.dylib ${BUILD_ROOT}/lib/libLTO.dylib | |
24 | for arch in $all_archs | |
25 | do | |
26 | echo "" | |
27 | echo " * * * Running all unit tests for architecture $arch * * *" | |
28 | ||
29 | # build architecture | |
30 | [ "$NEWTEST" ] && NT=-newtest | |
31 | ||
32 | ../bin/make-recursive$NT.pl ARCH=$arch VALID_ARCHS="$valid_archs" | ../bin/result-filter.pl | |
33 | ||
34 | # clean up so svn is happy | |
35 | ../bin/make-recursive.pl ARCH=$arch clean > /dev/null | |
36 | ||
37 | echo "" | |
38 | done |