make/tests/scripts/features
Paul Smith 9db74434cd Clean up memory leak warnings from ASAN and Valgrind
* src/main.c (main): Add "sanitize" to .FEATURES if ASAN is enabled.
* src/expand.c (expand_variable_output): Remember "recursive" setting
in case it's changed by the expansion of the variable.
* src/file.c (rehash_file): If we drop a file from the global 'files'
hash, remember it in rehashed_files.  We can't free it because it's
still being referenced (callers will invoke check_renamed()) but
it will be a leak since it's no longer referenced by 'files'.
* src/remake.c (update_file_1): If we drop a dependency, remember it
in dropped_list.  We can't free it because it's still being referenced
by callers but it will be a leak since it's no longer referenced as
a prerequisite.
* tests/scripts/functions/guile: Don't run Guile tests when ASAN is
enabled.
* tests/scripts/functions/wildcard: Enabling ASAN causes glob(3) to
break!  Don't run this test.
* tests/scripts/features/exec: Valgrind's exec() doesn't support
scripts with no shbang.
* tests/scripts/jobserver: Valgrind fails if TMPDIR is set to an
invalid directory: skip those tests.
* tests/scripts/features/output-sync: Ditto.
* tests/scripts/features/temp_stdin: Ditto.
2023-04-01 11:13:12 -04:00
..
archives * tests/scripts/features/archives: Set CC properly 2023-02-19 14:49:56 -05:00
comments
conditionals Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
default_names
dircache
double_colon
echoing
errors tests [WINDOWS32]: Support Strawberry Perl on Windows 2022-12-20 02:14:18 -05:00
escape
exec Clean up memory leak warnings from ASAN and Valgrind 2023-04-01 11:13:12 -04:00
export Convert references from "GNU make" to "GNU Make" 2023-01-01 17:05:12 -05:00
grouped_targets
implicit_search Apply spelling fixes discovered by Codespell 2022-12-31 13:21:09 -05:00
include * tests/scripts/features/include [AIX]: Set explicit timestamps 2023-02-19 15:35:22 -05:00
jobserver Clean up memory leak warnings from ASAN and Valgrind 2023-04-01 11:13:12 -04:00
load
loadapi
mult_rules
mult_targets
order_only
output-sync Clean up memory leak warnings from ASAN and Valgrind 2023-04-01 11:13:12 -04:00
override
parallelism Avoid using false(1) in regression tests 2022-12-31 10:51:24 -05:00
patspecific_vars
patternrules Apply spelling fixes discovered by Codespell 2022-12-31 13:21:09 -05:00
quoting
recursion
reinvoke * tests/scripts/features/reinvoke: Warn about closing STDIN. 2023-01-11 20:35:11 -05:00
rule_glob
se_explicit Apply spelling fixes discovered by Codespell 2022-12-31 13:21:09 -05:00
se_implicit
se_statpat
shell_assignment [SV 62654] Support GNU Make on z/OS 2023-01-08 10:45:38 -05:00
statipattrules Apply spelling fixes discovered by Codespell 2022-12-31 13:21:09 -05:00
suffixrules [SV 63821] Don't set up default suffix rules if makefile sets -r 2023-02-20 15:17:24 -05:00
targetvars
temp_stdin Clean up memory leak warnings from ASAN and Valgrind 2023-04-01 11:13:12 -04:00
utf8
varnesting Fix issues found by ASAN and Coverity 2022-10-31 02:23:04 -04:00
vpath
vpathgpath
vpathplus