diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2012-04-01 17:15:38 -0400 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2012-04-01 17:15:38 -0400 |
commit | 93ca7b261a2dad770be20328da1d747414d3e6d8 (patch) | |
tree | c74555fe9025508f85bb36a20a72dbaa5586f1b2 | |
parent | 3438b2129cd933e430349a6bd66a1933071c92c2 (diff) | |
download | egawk-93ca7b261a2dad770be20328da1d747414d3e6d8.tar.gz egawk-93ca7b261a2dad770be20328da1d747414d3e6d8.tar.bz2 egawk-93ca7b261a2dad770be20328da1d747414d3e6d8.zip |
Add valgrind-noleak target.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.am | 5 | ||||
-rw-r--r-- | TODO.xgawk | 4 |
3 files changed, 13 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2012-04-01 Andrew J. Schorr <aschorr@telemetry-investments.com> + * TODO.xgawk: Move valgrind-noleak item into "done" section. + * Makefile.am (valgrind-noleak): Add new valgrind rule that omits + the "--leak-check=full" option to help spot more serious problems. + +2012-04-01 Andrew J. Schorr <aschorr@telemetry-investments.com> + * TODO.xgawk: Move ERRNO item into "done" section. * awk.h (update_ERRNO, update_ERRNO_saved): Remove declarations. (update_ERRNO_int, enum errno_translate, update_ERRNO_string, diff --git a/Makefile.am b/Makefile.am index 11932aa4..d1bf1e65 100644 --- a/Makefile.am +++ b/Makefile.am @@ -212,3 +212,8 @@ valgrind: cd test; rm -f log.[0-9]*; \ make check AWK="valgrind --leak-check=full --log-file=log.%p ../gawk"; \ make valgrind-scan + +valgrind-noleak: + cd test; rm -f log.[0-9]*; \ + make check AWK="valgrind --log-file=log.%p ../gawk"; \ + make valgrind-scan @@ -19,6 +19,8 @@ Done: extern void update_ERRNO_string(const char *string, enum errno_translate); extern void unset_ERRNO(void); +- Add valgrind-noleak target. + To do (not necessarily in this order): @@ -32,8 +34,6 @@ To do (not necessarily in this order): pass a pointer to a structure into dlload that contains the addresses of all variables and functions to which the extension may need access. -- Add valgrind-noleak target. - - Enable default ".awk" search in io.c:find_source(). The simple change is to add this code inline in io.c: #ifndef DEFAULT_FILETYPE |