source:
kBuild/vendor/gnumake/3.82/tests/scripts/test_template@
2579
| Last change on this file since 2579 was 2579, checked in by , 12 years ago | |
|---|---|
| File size: 1015 bytes | |
| Line | |
|---|---|
| 1 | # -*-perl-*- |
| 2 | |
| 3 | $description = "<FILL IN SHORT DESCRIPTION HERE>"; |
| 4 | $details = "<FILL IN DETAILS OF HOW YOU TEST WHAT YOU SAY YOU ARE TESTING>"; |
| 5 | |
| 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). |
| 13 | |
| 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'); |
| 17 | |
| 18 | # There are various special tokens, options, etc. See the full documentation |
| 19 | # in run_make_tests.pl. |
| 20 | |
| 21 | |
| 22 | # This tells the test driver that the perl test script executed properly. |
| 23 | 1; |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 |
Note:
See TracBrowser
for help on using the repository browser.

