make/tests/scripts/features
Paul Smith 047bd5a16f [SV 46433] Show recipe line offsets in line number messages.
While displaying line numbers, show the relevant line number inside
the recipe not just the first line of the entire recipe.
Sample changes suggested by Brian Vandenberg <phantall@gmail.com>

* gnumake.h (gmk_floc): Add an 'offset' to track the recipe offset.
* read.c (eval, eval_makefile, eval_buffer): Initialize 'offset'.
(record_files, install_pattern_rule): Ditto.
* job.c (new_job, job_next_command): Update 'offset' based on the
line of the recipe we're expanding or invoking.
(child_error): Add 'offset' when showing the line number.
* function.c (func_shell_base): Ditto.
* output.c (error, fatal): Ditto.
* NEWS: Mention the new ability.
* tests/scripts/features/errors: Check the line number on errors.
* tests/scripts/functions/warning: Check the line number on warnings.
* tests/scripts/features/output-sync,
tests/scripts/features/parallelism, tests/scripts/functions/shell,
tests/scripts/functions/error: Update line numbers.
2016-04-11 07:51:05 -04:00
..
archives * tests/scripts/features/archives: Handle deterministic archives. 2016-02-29 01:31:16 -05:00
comments
conditionals
default_names Clean up some tests for use on Windows. 2013-10-05 19:30:48 -04:00
double_colon Be sure to start parsing prereqs in the right place even if there are 2011-11-14 07:31:06 +00:00
echoing
errors [SV 46433] Show recipe line offsets in line number messages. 2016-04-11 07:51:05 -04:00
escape Regression test portability to Solaris. 2013-09-22 17:10:34 -04:00
export
include [SV 102] Don't show unnecessary include file errors. 2016-04-09 20:06:46 -04:00
jobserver Preserve the real value of -jN in MAKEFLAGS using jobserver. 2016-04-04 01:38:37 -04:00
load [SV 46581] Pre-define .LOADED to avoid warnings. 2016-03-13 03:02:00 -04:00
loadapi * features/loadapi (test_expand): Allocate memory for the nul byte. 2013-11-24 04:08:30 -05:00
mult_rules Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00
mult_targets
order_only
output-sync [SV 46433] Show recipe line offsets in line number messages. 2016-04-11 07:51:05 -04:00
override
parallelism [SV 46433] Show recipe line offsets in line number messages. 2016-04-11 07:51:05 -04:00
patspecific_vars [SV 39709] Fix some typos. 2013-10-09 01:53:55 -04:00
patternrules * job.c (child_error): Combine file info with error message. 2016-03-20 14:23:22 -04:00
quoting
recursion Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00
reinvoke Fix Savannah bug #30723: expand MAKEFLAGS before we re-exec after 2010-08-10 07:35:34 +00:00
rule_glob [Bug #39310] Parse simple pattern prereqs for globbing. 2013-07-22 02:23:02 -04:00
se_explicit Create a target that tests alternative configurations. 2013-09-21 18:10:08 -04:00
se_implicit [SV 31155] Parse order-only tokens in second expansion results. 2013-09-22 17:10:35 -04:00
se_statpat
shell_assignment Add new feature: != shell assignment for portability with BSD make. 2011-04-18 01:25:20 +00:00
statipattrules
targetvars Check if the target-specific variable is the same as the global 2010-11-30 14:48:52 +00:00
utf8 Ignore UTF-8 BOMs. See Savannah bug #36529. 2012-09-09 21:11:00 +00:00
varnesting Save strings we're expanding in case an embedded eval causes them 2011-08-29 16:20:19 +00:00
vpath Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00
vpath2
vpath3 [SV 41758]: Fix archive support for VMS. 2014-10-20 01:31:42 -04:00
vpathgpath Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00
vpathplus * job.c (child_error): Combine file info with error message. 2016-03-20 14:23:22 -04:00