aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2012-04-01 17:30:26 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2012-04-01 17:30:26 -0400
commitd6d6a4ac9c6eb33a71595fd596b9a8f2db6444b7 (patch)
tree716d28b253d40c2ed05029f2a2d4c9ec8d902ae6 /test
parent93ca7b261a2dad770be20328da1d747414d3e6d8 (diff)
downloadegawk-d6d6a4ac9c6eb33a71595fd596b9a8f2db6444b7.tar.gz
egawk-d6d6a4ac9c6eb33a71595fd596b9a8f2db6444b7.tar.bz2
egawk-d6d6a4ac9c6eb33a71595fd596b9a8f2db6444b7.zip
Update valgrind-scan rule.
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog4
-rw-r--r--test/Makefile.am4
2 files changed, 6 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index c16e5ecf..236288e2 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2012-04-01 Andrew J. Schorr <aschorr@telemetry-investments.com>
+
+ * Makefile.am (valgrind-scan): Update to match modern valgrind output.
+
2011-12-26 John Haque <j.eh@mchsi.com>
* badargs.ok: Adjust for new and changed command line options.
diff --git a/test/Makefile.am b/test/Makefile.am
index 943dbd9f..afd98299 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1483,8 +1483,8 @@ valgrind-scan:
function show() {if (cmd) {printf "%s: %s\n",FILENAME,cmd; cmd = ""}; \
printf "\t%s\n",$$0}; \
{$$1 = ""}; \
- /Prog and args are:/ {incmd = 1; cmd = ""; next}; \
- incmd {if (NF == 1) incmd = 0; else {cmd = (cmd $$0); next}}; \
+ $$2 == "Command:" {incmd = 1; $$2 = ""; cmd = $$0; next}; \
+ incmd {if (/Parent PID:/) incmd = 0; else {cmd = (cmd $$0); next}}; \
/ERROR SUMMARY:/ && !/: 0 errors from 0 contexts/ {show()}; \
/definitely lost:/ && !/: 0 bytes in 0 blocks/ {show()}; \
/possibly lost:/ && !/: 0 bytes in 0 blocks/ {show()}; \