make/tests/scripts
Paul Smith 43181f1f82 [SV 28092] Preserve the exit status of the $(shell...) function.
Add a new variable .SHELLSTATUS which holds the exit status of the
last-invoked shell function or != assignment.

* NEWS, doc/make.texi: Document the change.
* function.c (shell_completed, msdos_openpipe, func_shell_base): Add
shell_completed() to handle the completion of the shell, by setting
.SHELLSTATUS.  Call it where needed.
* job.c (child_handler): Call shell_completed().
* tests/scripts/functions/shell: Add tests for .SHELLSTATUS.
2015-07-12 21:03:24 -04:00
..
features * tests/scripts/features/archives: [SV 43405] override AR variable. 2014-10-20 01:45:09 -04:00
functions [SV 28092] Preserve the exit status of the $(shell...) function. 2015-07-12 21:03:24 -04:00
misc * tests/scripts/misc/fopen-fail: [SV 42390] Increase test timeout. 2015-07-12 18:19:01 -04:00
options [SV 42249] Propagate correct rule status results. 2014-05-01 09:51:04 -04:00
targets
variables * read.c (eval): [SV 41677] Correct test for TAB vs. 8 spaces. 2014-07-07 03:43:57 -04:00
vms [SV 41758]: Fix archive support for VMS. 2014-10-20 01:31:42 -04:00
test_template