1 $DragonFly: src/usr.bin/make/tests/README,v 1.3 2005/02/26 11:58:04 okumoto Exp $
3 This directory contains regresion tests for make(1).
5 The tests are invoked via the test.sh script.
6 % test.sh [-v] [-m path_to_make_binary] command
8 clean - Remove the results and the other temp files.
10 compare - Check if results of the test match the expected
11 output from stdout, stderr, and the status.
13 desc - print description of test
15 diff - Output the diffs from the tests and the expected
16 stdout, stderr, and the status files.
18 run - Invoke test, compare, and clean in sequence.
20 test - Invoke the test code
22 update - Copy the output of the last test run as the expected
23 output from stdout, stderr, and the status.
26 % sh test.sh -m `pwd`/../obj/make run
30 common.sh - common code
31 test.sh - top level test script.
32 basic/test.sh - 2nd level test script.
33 variables/test.sh - 2nd level test script.
36 t0/test.sh - regression test
37 t1/test.sh - regression test
38 t2/test.sh - regression test
40 t0/test.sh - regression test
41 t1/test.sh - regression test
43 Each test directory should contain a test.sh script
44 and the expected output files.