make/tests/scripts/functions
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
..
abspath Fix make.h preprocessor directive to work better with Windows compilers. 2005-08-29 14:11:00 +00:00
addprefix * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
addsuffix * Various fixes for problems in the 3.79.0.1 pretest. 2000-06-19 21:22:44 +00:00
andor - New code capability: a read-only string cache. Start of solution for 2006-02-10 05:29:00 +00:00
basename * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
call Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00
dir * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
error Fix Savannah bug #106: keep separate track of which variable we are 2006-02-15 23:54:42 +00:00
eval New special variable: .RECIPEPREFIX 2007-11-04 21:54:00 +00:00
file [SV 41983] Support omitting the text argument to $(file ...) 2014-07-07 01:59:03 -04:00
filter-out Fix Savannah bug #35410: handle escape chars in filter/filter-out 2012-03-03 22:12:46 +00:00
findstring * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
flavor Implemented the flavor function which returns the flavor of 2005-11-17 07:27:28 +00:00
foreach Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00
guile Expand the loadable object support. 2013-02-25 01:38:36 -05:00
if Fix bugs 5798 and 6195. 2003-11-04 07:40:29 +00:00
join * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
notdir * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
origin Numerous updates to tests for issues found on Cygwin and Windows. 2006-03-10 02:20:45 +00:00
realpath Release GNU make 3.81. 2006-04-01 06:36:40 +00:00
shell [SV 28092] Preserve the exit status of the $(shell...) function. 2015-07-12 21:03:24 -04:00
sort Use the same algorithm for counting the number of words to sort as we 2011-05-02 12:35:01 +00:00
strip * Various bug fixes. 2000-04-22 02:11:17 +00:00
substitution Fix some bugs in variable pattern substitution (e.g. $(VAR:A=B)), 2004-09-21 04:00:31 +00:00
suffix * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
value Major updates in preparation for 3.80. 2002-07-08 02:26:47 +00:00
warning Fix Savannah bug #106: keep separate track of which variable we are 2006-02-15 23:54:42 +00:00
wildcard Inverted the boolean test from what I wanted it to be. Added a 2011-05-07 14:36:11 +00:00
word Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00