make/tests/scripts
Paul Smith 9ae02b7916 [SV 45728] Detect changes in .VARIABLES more accurately.
For performance, we only recompute .VARIABLES when (a) it's expanded
and (b) when its value will change from a previous expansion.  To
determine (b) we were checking the number of entries in the hash
table which used to work until we started undefining entries: now if
you undefine and redefine the same number of entries in between
expanding .VARIABLES, it doesn't detect any change.  Instead, keep
an increasing change number.
* variables.c: Add variable_changenum.
(define_variable_in_set, merge_variable_sets): Increment
variable_changenum if adding a new variable to the global set.
(undefine_variable_in_set): Increment variable_changenum if
undefining a variable from the global set.
(lookup_special_var): Test variable_changenum not the hash table.
* tests/scripts/variables/special: Test undefining variables.
2016-03-13 18:23:20 -04:00
..
features [SV 46581] Pre-define .LOADED to avoid warnings. 2016-03-13 03:02:00 -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 47151] Exit with 1 when checking recursive make -q 2016-02-29 01:33:50 -05:00
targets * implicit.c (pattern_search): [SV 43677] Mark files secondary. 2015-07-13 00:51:35 -04:00
variables [SV 45728] Detect changes in .VARIABLES more accurately. 2016-03-13 18:23:20 -04:00
vms [SV 41758]: Fix archive support for VMS. 2014-10-20 01:31:42 -04:00
test_template Update the test template. A few fixes in run_make_test(). 2004-09-22 04:36:17 +00:00