make/tests/scripts
Dmitry Goncharov 7d8756a4a3 [SV 63537] Document and test flippable switches
* doc/make.texi (Options/Recursion): Clarify that MAKEFLAGS values
from the environment have precedence over those set in the makefile.
* tests/scripts/variables/MAKEFLAGS: Check boolean switches -k/-S,
-w/--no-print-directory and -s/--no-silent as follows:
1. A switch can be enabled or disabled on the command line.
2. A switch can be enabled or disabled in env.
3. A switch can be enabled or disabled in makefile.
4. Command line beats env and makefile.
5. Env beats makefile.
6. MAKEFLAGS contains each specified switch at parse and build time.
7. If switches are specified in multiple origins, MAKEFLAGS contains
   the winning switch at parse and build time.
8. MAKEFLAGS does not contain the losing switch.
Also test that --debug settings from different origins are combined
together into one option.
2022-12-18 20:06:38 -05:00
..
features [SV 63484] Force included makefiles to be explicit 2022-12-18 20:06:38 -05:00
functions Fix issues found by ASAN and Coverity 2022-10-31 02:23:04 -04:00
misc Add specific hints for errors due to invalid conditionals 2022-11-15 10:50:34 -05:00
options [SV 63537] Document and test flippable switches 2022-12-18 20:06:38 -05:00
targets [SV 63417] Ensure global .NOTINTERMEDIATE disables all intermediates 2022-11-28 10:50:55 -05:00
variables [SV 63537] Document and test flippable switches 2022-12-18 20:06:38 -05:00
vms Refresh the test suite framework implementation. 2019-09-16 08:25:33 -04:00
test_template Update the test template. A few fixes in run_make_test(). 2004-09-22 04:36:17 +00:00