]> git.saurik.com Git - apple/ld64.git/blame - unit-tests/run-all-unit-tests
ld64-77.tar.gz
[apple/ld64.git] / unit-tests / run-all-unit-tests
CommitLineData
d696c285
A
1#!/bin/sh
2
3# cd into test-cases directory
4cd `echo "$0" | sed 's/run-all-unit-tests/test-cases/'`
5
a61fdf0a
A
6[ "$PROCTORRUN" ] && exec ../proctor-run
7
69a49097 8all_archs="ppc ppc64 i386 x86_64"
d696c285 9
a61fdf0a 10mkdir /tmp/$$
d696c285
A
11for arch in $all_archs
12do
13 echo ""
14 echo " * * * Running all unit tests for architecture $arch * * *"
15
16 # build architecture
a61fdf0a
A
17 [ "$NEWTEST" ] && NT=-newtest
18
19 ../bin/make-recursive$NT.pl ARCH=$arch VALID_ARCHS="$all_archs" | ../bin/result-filter.pl
d696c285
A
20
21 # clean up so svn is happy
22 ../bin/make-recursive.pl ARCH=$arch clean > /dev/null
23
24 echo ""
25done