make/tests/scripts/targets
Paul Smith 6682fbc2cb Do not force targets to be SECONDARY
In SV 43677 we forced targets to be secondary if we found an
intermediate file that was listed as a prerequisite of another
target.  This overrides .INTERMEDIATE settings, so doesn't work.
Now that we have an is_explicit flag in targets, use that instead.

* src/implicit.c (pattern_search): Remove setting of secondary.
Preserve the value of the is_explicit flag when creating a new
file target, and consider it when setting the intermediate flag.
* tests/scripts/features/patternrules: Add a test w/out INTERMEDIATE
* tests/scripts/targets/INTERMEDIATE: Add a test with INTERMEDIATE
2021-12-29 15:26:56 -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 Do not force targets to be SECONDARY 2021-12-29 15:26:56 -05:00
NOTINTERMEDIATE [SV 60297] Add .NOTINTERMEDIATE special target 2021-07-25 17:15:38 -04:00
ONESHELL Add test suite support to Windows 2017-06-04 18:37:20 -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