make/tests/scripts/features
Paul Smith f79bde1a6d tests: Simplify customization of %ENV
Rather than having an %extraENV that is added to the default %ENV
and resetting %ENV _before_ each test, allow the test setup to
modify %ENV directly as needed then reset %ENV _after_ each test.

* tests/test_driver.pl: Remove unused %extraENV.
(resetENV): Don't add in %extraENV.
(_run_command): Reset after we run the command rather than before.
* tests/scripts/features/export: Convert %extraENV to %ENV
* tests/scripts/features/jobserver: Ditto
* tests/scripts/features/parallelism: Ditto
* tests/scripts/features/targetvars: Ditto
* tests/scripts/functions/eval: Ditto
* tests/scripts/functions/foreach: Ditto
* tests/scripts/functions/origin: Ditto
* tests/scripts/misc/general4: Ditto
* tests/scripts/options/dash-e: Ditto
* tests/scripts/targets/POSIX: Ditto
* tests/scripts/variables/GNUMAKEFLAGS: Ditto
* tests/scripts/variables/SHELL: Ditto
2020-04-01 02:02:57 -04:00
..
archives tests: Convert %CONFIG_FLAGS to get_config() 2019-10-05 17:47:52 -04:00
comments
conditionals
default_names
double_colon
echoing
errors
escape
exec * tests/scripts/features/exec: Don't use $ENV in the description 2020-01-03 02:08:59 -05:00
export tests: Simplify customization of %ENV 2020-04-01 02:02:57 -04:00
grouped_targets
include
jobserver tests: Simplify customization of %ENV 2020-04-01 02:02:57 -04:00
load tests: Convert %CONFIG_FLAGS to get_config() 2019-10-05 17:47:52 -04:00
loadapi tests: Convert %CONFIG_FLAGS to get_config() 2019-10-05 17:47:52 -04:00
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 * tests/scripts/features/patternrules: Use Windows-compatible quoting 2020-01-03 02:08:59 -05:00
quoting
recursion
reinvoke
rule_glob
se_explicit
se_implicit [SV 54161] Fix second expansion of $* for paths 2019-12-18 09:05:17 -05:00
se_statpat
shell_assignment
statipattrules
suffixrules [SV 40657] Reinstate old behavior for suffix rules with prereqs 2020-01-19 17:04:52 -05:00
targetvars tests: Simplify customization of %ENV 2020-04-01 02:02:57 -04:00
utf8
varnesting
vpath
vpath2
vpath3
vpathgpath
vpathplus