make/tests/scripts/features
Dmitry Goncharov 949c0464a9 [SV 62145] Remove a stdin temp file on re-exec failure.
If the re-exec fails, be sure to remove a temp makefile that was
created to read from stdin.

* src/job.c (exec_command): Return on failure.
(child_execute_job): Call exit if exec_command returns.
* src/job.h (exec_command): Don't mark as NORETURN.
* src/main.c (main): Unlink stdin temporary file if re-exec fails.
* tests/run_make_tests.pl: Get value for ERR_nonexe_file/ERR_exe_dir.
* tests/scripts/features/temp_stdin: Test that temp file unlink works.
2022-04-24 10:39:32 -04:00
..
archives
comments
conditionals
default_names
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 * tests/scripts/features/errors: Fix Perl warnings 2022-04-18 16:57:06 -04:00
escape
exec * tests/scripts/features/exec: Small cleanup 2021-03-15 01:17:06 -04:00
export Support "unexport" in target-specific variables. 2020-11-29 17:57:33 -05:00
grouped_targets [SV 48643] Add more tests of intermediates and unrelated targets 2022-02-06 18:46:32 -05:00
implicit_search * tests/scripts/features/implicit_search: Add -r for safety. 2022-02-06 18:46:32 -05:00
include tests: Allow run_make_test() to avoid passing -f 2022-02-27 17:47:42 -05:00
jobserver tests: Simplify customization of %ENV 2020-04-01 02:02:57 -04:00
load
loadapi
mult_rules
mult_targets
order_only
output-sync Rename jhelp.pl to thelp.pl and make it a generic test helper. 2019-12-16 09:31:31 -05:00
override
parallelism tests: Simplify customization of %ENV 2020-04-01 02:02:57 -04:00
patspecific_vars
patternrules [SV 48643] Add more tests of intermediates and unrelated targets 2022-02-06 18:46:32 -05:00
quoting
recursion
reinvoke [SV 62088] Avoid re-exec due to stdin. 2022-02-27 18:00:47 -05:00
rule_glob
se_explicit [SV 60659] Set $$< properly in second expansion 2021-05-30 15:53:41 -04:00
se_implicit [SV 48643] Add more tests of intermediates and unrelated targets 2022-02-06 18:46:32 -05:00
se_statpat
shell_assignment
statipattrules [SV 48643] Add more tests of intermediates and unrelated targets 2022-02-06 18:46:32 -05: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 62145] Remove a stdin temp file on re-exec failure. 2022-04-24 10:39:32 -04:00
utf8
varnesting
vpath
vpath2
vpath3
vpathgpath * tests/scripts/features/vpathgpath: Avoid duplicate function name. 2020-11-29 17:59:40 -05:00
vpathplus