- Enhance .POSIX to set -e when invoking shells, as demanded by a
[make.git] / tests / scripts / test_template
blob3fd3f9537674d4b68adc64fd3ac0a5899c6300f0
1 #                                                                    -*-perl-*-
3 $description = "<FILL IN SHORT DESCRIPTION HERE>";
4 $details = "<FILL IN DETAILS OF HOW YOU TEST WHAT YOU SAY YOU ARE TESTING>";
6 # Run a make test.  See the documentation of run_make_test() in
7 # run_make_tests.pl, but briefly the first argument is a string with the
8 # contents of a makefile to be tested, the second is a string containing the
9 # arguments to be passed to the make invocation, the third is a string
10 # containing the expected output.  The fourth is the expected exit code for
11 # make.  If not specified, it's assumed that the make program should succeed
12 # (exit with 0).
14 run_make_test('Your test makefile goes here',
15               'Arguments to pass to make go here',
16               'Expected output from the invocation goes here');
18 # There are various special tokens, options, etc.  See the full documentation
19 # in run_make_tests.pl.
22 # This tells the test driver that the perl test script executed properly.