make/tests/scripts/features
Mike Haboustak ee167c650e [SV 28456] Don't override $< when no default rule has been defined
The check for matching a file's command to the default rule's command
does not account for null. If no .DEFAULT is defined a rule with no
recipe has it's $< variable set to the value of $@. This breaks second
expansion, particularly when used with pattern rules.

* src/commands.c [set_file_variables]: Check that cmds is set
* tests/scripts/features/se_explicit: Test case
* tests/scripts/features/se_implicit: Test case

Copyright-paperwork-exempt: yes
2019-07-13 11:47:26 -04:00
..
archives * tests/scripts/features/archives: [SV 54395] Test long archive names. 2018-08-04 17:02:25 -04:00
comments
conditionals
default_names
double_colon
echoing
errors Clean up errors for invalid commands and add regression tests. 2018-08-04 12:37:19 -04:00
escape Add test suite support to Windows 2017-06-04 18:37:20 -04:00
export
grouped_targets [SV 8297] Implement "grouped targets" for explicit rules. 2019-05-12 16:29:20 -04:00
include * job.c (child_error): Modify error message string. 2017-10-30 17:07:21 -04:00
jobserver Update regression tests for Windows. 2018-07-02 07:54:07 -04:00
load Rework directory structure to use GNU-recommended "src" directory. 2017-11-19 14:07:22 -05:00
loadapi Rework directory structure to use GNU-recommended "src" directory. 2017-11-19 14:07:22 -05:00
mult_rules
mult_targets
order_only
output-sync Clean up errors for invalid commands and add regression tests. 2018-08-04 12:37:19 -04:00
override
parallelism * src/main.c (main): Set jobserver permissions before re-execing 2018-09-15 15:08:47 -04:00
patspecific_vars
patternrules [SV 54233] Preserve higher command_state values on also_make targets. 2018-08-04 19:07:59 -04:00
quoting Add test suite support to Windows 2017-06-04 18:37:20 -04:00
recursion [SV 46013] Allow recursive variable overrides from Makefiles 2019-05-19 19:25:50 -04:00
reinvoke Add test suite support to Windows 2017-06-04 18:37:20 -04:00
rule_glob
se_explicit [SV 28456] Don't override $< when no default rule has been defined 2019-07-13 11:47:26 -04:00
se_implicit [SV 28456] Don't override $< when no default rule has been defined 2019-07-13 11:47:26 -04:00
se_statpat
shell_assignment
statipattrules
suffixrules [SV 40657] Don't create pattern rules for suffix rules with deps. 2018-09-15 15:08:29 -04:00
targetvars Add test suite support to Windows 2017-06-04 18:37:20 -04:00
utf8
varnesting
vpath
vpath2
vpath3
vpathgpath
vpathplus * job.c (child_error): Modify error message string. 2017-10-30 17:07:21 -04:00