make/tests/scripts/targets
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
..
clean Portability changes for the test suite. 2016-12-26 09:01:59 -05:00
DEFAULT Refresh the test suite framework implementation. 2019-09-16 08:25:33 -04:00
DELETE_ON_ERROR * job.c (child_error): Modify error message string. 2019-09-22 17:02:57 -04:00
FORCE Portability changes for the test suite. 2016-12-26 09:01:59 -05:00
INTERMEDIATE * tests/scripts/targets/INTERMEDIATE: Rewrite for new test method 2021-12-29 15:27:04 -05:00
NOTINTERMEDIATE [SV 63417] Ensure global .NOTINTERMEDIATE disables all intermediates 2022-11-28 10:50:55 -05:00
ONESHELL Fix issues found by ASAN and Coverity 2022-10-31 02:23:04 -04:00
PHONY Portability changes for the test suite. 2016-12-26 09:01:59 -05:00
POSIX [SV 35711] Check for special targets earlier 2020-11-29 17:55:02 -05:00
SECONDARY Use Jenkins hash. 2017-11-11 10:08:30 -05:00
SILENT [SV 54740] Ensure .SILENT settings do not leak into sub-makes 2019-05-19 15:27:26 -04:00
WAIT * tests/scripts/targets/WAIT: [SV 63071] Remove possible test races. 2022-09-17 13:22:35 -04:00