]> git.saurik.com Git - apple/ld64.git/blame_incremental - unit-tests/run-all-unit-tests-debug
ld64-274.1.tar.gz
[apple/ld64.git] / unit-tests / run-all-unit-tests-debug
... / ...
CommitLineData
1#!/bin/sh
2
3# cd into test-cases directory
4cd `echo "$0" | sed 's/run-all-unit-tests/test-cases/'`
5
6[ "$PROCTORRUN" ] && exec ../proctor-run
7
8all_archs="ppc ppc64 i386 x86_64"
9
10mkdir /tmp/$$
11for arch in $all_archs
12do
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 ""
26done