make/tests/scripts
Dmitry Goncharov 6164608900 [SV 63417] Ensure global .NOTINTERMEDIATE disables all intermediates
Fix .NOTINTERMEDIATE without prerequisites to disable intermediate
status for all targets.

* src/makeint.h: Declare extern no_intermediates.
* src/main.c: Add global definition of no_intermediates.
* src/file.c: Remove static no_intermediates to use global variable.
(remove_intermediates): Check no_intermediates.
* src/implicit.c (pattern_search): For a file found by implicit search
set file->notintermediate if no_intermediates is set.
* src/remake.c (update_file_1): Don't set file->secondary for a
pre-existing file if no_intermediates is set.  The check for
no_intermediates here is redundant, but won't hurt: keep it in case
things change so that it matters.
* tests/scripts/targets/NOTINTERMEDIATE: Fix a test.
2022-11-28 10:50:55 -05:00
..
features [SV 63333] Be more lenient when failing to create temporary files 2022-11-13 16:34:01 -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 Enhance tests to work on different systems 2022-10-22 22:37:49 -04:00
targets [SV 63417] Ensure global .NOTINTERMEDIATE disables all intermediates 2022-11-28 10:50:55 -05:00
variables [SV 63347] Always add command line variable assignments to MAKEFLAGS 2022-11-28 10:50:55 -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