make/tests/scripts/features
Dmitry Goncharov 1b51ba1f5d [SV 63333] Be more lenient when failing to create temporary files
If make cannot create a temporary lock file for output sync, continue
without output sync enabled rather than dying.

However, if make cannot store a makefile from stdin to a temporary
file that is still a fatal error.

* misc.c (get_tmppath): Keep running on failure to generate a
temporary file name.
(get_tmpfd): Keep running on failure to get a temporary file.
(get_tmpfile): Keep running on failure to open a temporary file.
Ensure memory is freed if we return an error.
* posixos.c (os_anontmp): Keep running on failure to open an
anonymous temporary file.
* output.c (setup_tmpfile): Print an error on failure to create an
output sync lock file.
* main.c (main): Die on failure to store makefile from stdin to a
temporary file.
* tests/scripts/features/output-sync: Add tests.
* tests/scripts/features/temp_stdin: Ditto.
2022-11-13 16:34:01 -05:00
..
archives * tests/scripts/features/archives: Fix typo 2022-06-04 19:04:37 -04:00
comments
conditionals
default_names Add preprocessor macros for different platforms 2022-10-18 14:20:44 -04:00
dircache [SV 41273] Allow the directory cache to be invalidated 2020-11-29 17:59:16 -05:00
double_colon * tests/scripts/features/double_colon: Update for modern tests. 2022-02-06 18:46:32 -05:00
echoing
errors Enhance tests to work on different systems 2022-10-22 22:37:49 -04:00
escape
exec * tests/scripts/features/exec: Don't test with C shells 2022-10-25 14:49:10 -04:00
export Support "unexport" in target-specific variables. 2020-11-29 17:57:33 -05:00
grouped_targets [SV 12078, SV 62809] Rebuild grouped targets if any is missing 2022-09-20 03:55:39 -04:00
implicit_search Enhance tests to work on different systems 2022-10-22 22:37:49 -04:00
include [SV 56301] Fail if an included makefile can't be built 2022-09-20 03:55:39 -04:00
jobserver Keep going if we can't connect to the jobserver 2022-11-13 10:39:48 -05:00
load [SV 63044] load: Update .LOADED if the setup function returns -1 2022-09-10 22:42:28 -04:00
loadapi Enhance tests to work on different systems 2022-10-22 22:37:49 -04:00
mult_rules [SV 62650] Show correct warning when combining targets 2022-07-09 10:44:00 -04:00
mult_targets
order_only
output-sync [SV 63333] Be more lenient when failing to create temporary files 2022-11-13 16:34:01 -05:00
override
parallelism Increase the test framework timeout from 5s to 60s 2022-10-25 14:44:26 -04:00
patspecific_vars
patternrules Increase the test framework timeout from 5s to 60s 2022-10-25 14:44:26 -04:00
quoting
recursion [SV 46013] Allow recursive variable overrides from Makefiles 2019-05-19 19:25:50 -04:00
reinvoke * tests/scripts/features/reinvoke: [SV 62088] Close STDIN 2022-04-24 13:48:03 -04:00
rule_glob
se_explicit Fix tests for MacOS and Windows 2022-08-30 21:05:34 -04:00
se_implicit Fix tests for MacOS and Windows 2022-08-30 21:05:34 -04:00
se_statpat Fix tests for MacOS and Windows 2022-08-30 21:05:34 -04:00
shell_assignment
statipattrules * tests/scripts/features/statipattrules: [SV 17374] Add test 2022-09-20 03:55:39 -04:00
suffixrules [SV 40657] Reinstate old behavior for suffix rules with prereqs 2020-01-19 17:04:52 -05:00
targetvars Special-case Windows error results 2021-11-28 14:27:10 -05:00
temp_stdin [SV 63333] Be more lenient when failing to create temporary files 2022-11-13 16:34:01 -05:00
utf8
varnesting Fix issues found by ASAN and Coverity 2022-10-31 02:23:04 -04:00
vpath [SV 12078, SV 62809] Rebuild grouped targets if any is missing 2022-09-20 03:55:39 -04:00
vpathgpath * tests/scripts/features/vpathgpath: Avoid duplicate function name. 2020-11-29 17:59:40 -05:00
vpathplus [SV 12078, SV 62809] Rebuild grouped targets if any is missing 2022-09-20 03:55:39 -04:00