Added code to handle DragonFly tags in expected results files.
[dragonfly.git] / usr.bin / make / tests / test.sh
1 #!/bin/sh
2
3 # $DragonFly: src/usr.bin/make/tests/test.sh,v 1.2 2005/02/01 11:19:37 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 diff)
23         for d in $DIR; do
24                 std_action $d $1
25         done
26         ;;
27
28 update)
29         for d in $DIR; do
30                 std_action $d $1
31         done
32         ;;
33
34 run)
35         for d in $DIR; do
36                 std_action $d $1
37         done
38         ;;
39
40 clean)
41         for d in $DIR; do
42                 std_action $d $1
43         done
44         ;;
45
46 *)
47         echo "Usage: $0 run | compare | update | clean"
48         ;;
49 esac
50