Add regression test infrastructure.
[dragonfly.git] / usr.bin / make / tests / test.sh
1 #!/bin/sh
2
3 # $DragonFly: src/usr.bin/make/tests/test.sh,v 1.1 2005/02/01 07:07:14 okumoto Exp $
4
5 . ./env.sh
6
7 DIR="basic variables"
8
9 case $1 in
10 test)
11         for d in $DIR; do
12                 std_action $d $1
13         done
14         ;;
15
16 compare)
17         for d in $DIR; do
18                 std_action $d $1
19         done
20         ;;
21
22 update)
23         for d in $DIR; do
24                 std_action $d $1
25         done
26         ;;
27
28 run)
29         for d in $DIR; do
30                 std_action $d $1
31         done
32         ;;
33
34 clean)
35         for d in $DIR; do
36                 std_action $d $1
37         done
38         ;;
39
40 *)
41         echo "Usage: $0 run | compare | update | clean"
42         ;;
43 esac
44