Lines Matching +full:working +full:- +full:directory

2 This directory contains regression tests for make(1).
6 ----------------------------------------------------------------------------
10 The tests are invoked via the test.sh script or prove(1) from p5-Test-Harness.
11 Tests are normally executed in a special test directory that is built under
13 all file in a directory, by files in one of make's obscure object directories
15 test scripts build a clean environment in the temp directory and the
16 tests are executed by cd-ing into that directory and invoking make. The
18 are written into files that are created in another directory. So the layout
21 ./shell/builtin/ - directory with test stuff
22 /tmp/make.${USER}/shell/builtin - actual test directory
23 /tmp/make.${USER}/shell/builtin.OUTPUT - output files
27 setup - Set up the test environment by creating the test directory
29 directory already exists an error is printed.
31 run - Run the test and produce the output into the output
32 directory.
34 show - Show the result files on the screen.
36 compare - Compare the results in the output directory with those
37 in the test source directory. This just prints whether
40 diff - Diff the output files and the expected output files.
42 reset - Reset the test to its initial state.
44 clean - Remove both the test directory and the output directory.
47 contained in each directory. These test scripts are called test.t.
50 test - Run setup, run and compare.
52 prove - Run setup, run, compare and clean. This is identically
55 desc - Print a short test description.
57 update - Update the expected results from the actual results.
61 % test.t [-v] [-m path_to_make_binary] command
68 % sh test.t -m `pwd`/../obj/make run
69 % MAKE_PROG=/usr/obj/usr/src/usr.bin/make/make prove -r
75 - Base directory for working files. If not set
79 - Path to the make program to test. If not set
85 - test source base directory. This is determined by
87 Therefor this can fail if a test source directory is
89 below the directory containing common.sh.
92 - subdirectory below WORK_BASE and SRC_BASE for current test
95 - ${WORK_BASE}/${SUBDIR}
98 - ${SRC_BASE}/${SUBDIR}
104 A one-line description of the test.
107 A list of pairs of directory names and modes. These
109 the directory already exists (during reset) only the
116 are copied from the source to the working directory
119 may be copied from/to sub-directories. The sub-directory
120 in the working directory must already exists (see
130 TEST_TOUCH="file1 '-t 200501011257'"
134 All names are prefixed with the working directory.
137 If a file with this name exists in the source directory
138 it is automatically copied to the working directory.