| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.127 2020/08/29 18:50:25 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.128 2020/08/29 19:07:32 rillig Exp $ |
2 | # | | 2 | # |
3 | # Unit tests for make(1) | | 3 | # Unit tests for make(1) |
4 | # | | 4 | # |
5 | # The main targets are: | | 5 | # The main targets are: |
6 | # | | 6 | # |
7 | # all: | | 7 | # all: |
8 | # run all the tests | | 8 | # run all the tests |
9 | # test: | | 9 | # test: |
10 | # run 'all', and compare to expected results | | 10 | # run 'all', and compare to expected results |
11 | # accept: | | 11 | # accept: |
12 | # move generated output to expected results | | 12 | # move generated output to expected results |
13 | # | | 13 | # |
14 | # Settable variables | | 14 | # Settable variables |
| @@ -319,26 +319,27 @@ TESTS+= varshell | | | @@ -319,26 +319,27 @@ TESTS+= varshell |
319 | | | 319 | |
320 | # Additional environment variables for some of the tests. | | 320 | # Additional environment variables for some of the tests. |
321 | # The base environment is -i PATH="$PATH". | | 321 | # The base environment is -i PATH="$PATH". |
322 | ENV.envfirst= FROM_ENV=value-from-env | | 322 | ENV.envfirst= FROM_ENV=value-from-env |
323 | ENV.varmisc= FROM_ENV=env | | 323 | ENV.varmisc= FROM_ENV=env |
324 | ENV.varmisc+= FROM_ENV_BEFORE=env | | 324 | ENV.varmisc+= FROM_ENV_BEFORE=env |
325 | ENV.varmisc+= FROM_ENV_AFTER=env | | 325 | ENV.varmisc+= FROM_ENV_AFTER=env |
326 | | | 326 | |
327 | # Override make flags for some of the tests; default is -k. | | 327 | # Override make flags for some of the tests; default is -k. |
328 | # If possible, write ".MAKEFLAGS: -dv" in the test .mk file instead of | | 328 | # If possible, write ".MAKEFLAGS: -dv" in the test .mk file instead of |
329 | # settings FLAGS.test=-dv here, since that is closer to the test code. | | 329 | # settings FLAGS.test=-dv here, since that is closer to the test code. |
330 | FLAGS.archive= -dA | | 330 | FLAGS.archive= -dA |
331 | FLAGS.counter= -dv | | 331 | FLAGS.counter= -dv |
| | | 332 | FLAGS.directive-ifmake= first second |
332 | FLAGS.doterror= # none | | 333 | FLAGS.doterror= # none |
333 | FLAGS.envfirst= -e | | 334 | FLAGS.envfirst= -e |
334 | FLAGS.export= # none | | 335 | FLAGS.export= # none |
335 | FLAGS.lint= -dL -k | | 336 | FLAGS.lint= -dL -k |
336 | FLAGS.opt-debug-g1= -dg1 | | 337 | FLAGS.opt-debug-g1= -dg1 |
337 | FLAGS.opt-ignore= -i | | 338 | FLAGS.opt-ignore= -i |
338 | FLAGS.opt-keep-going= -k | | 339 | FLAGS.opt-keep-going= -k |
339 | FLAGS.opt-no-action= -n | | 340 | FLAGS.opt-no-action= -n |
340 | FLAGS.opt-query= -q | | 341 | FLAGS.opt-query= -q |
341 | FLAGS.opt-var-expanded= -v VAR -v VALUE | | 342 | FLAGS.opt-var-expanded= -v VAR -v VALUE |
342 | FLAGS.opt-var-literal= -V VAR -V VALUE | | 343 | FLAGS.opt-var-literal= -V VAR -V VALUE |
343 | FLAGS.opt-warnings-as-errors= -W | | 344 | FLAGS.opt-warnings-as-errors= -W |
344 | FLAGS.order= -j1 | | 345 | FLAGS.order= -j1 |