aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2012-04-08 18:05:15 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2012-04-08 18:05:15 -0400
commit059a60ca01fbe31d4e6cea8cde7fa086abec90aa (patch)
tree329626b48c189aa0bf49100367144087b1ffbda7
parent7975e6a2960b95942b6732dd59969aa3abca2502 (diff)
downloadegawk-059a60ca01fbe31d4e6cea8cde7fa086abec90aa.tar.gz
egawk-059a60ca01fbe31d4e6cea8cde7fa086abec90aa.tar.bz2
egawk-059a60ca01fbe31d4e6cea8cde7fa086abec90aa.zip
Protect against environment VALGRIND value.
-rw-r--r--test/ChangeLog5
-rw-r--r--test/Makefile.am4
-rw-r--r--test/Makefile.in4
3 files changed, 13 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index ee8a4870..59f9117f 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,5 +1,10 @@
2012-04-08 Andrew J. Schorr <aschorr@telemetry-investments.com>
+ * Makefile.am (VALGRIND): Set to empty to protect against random
+ values in the environment.
+
+2012-04-08 Andrew J. Schorr <aschorr@telemetry-investments.com>
+
* Makefile.am (EXTRA_DIST): Add missing files fork.ok, fork2.ok
and ordchr2.ok.
diff --git a/test/Makefile.am b/test/Makefile.am
index b94e5c2f..2fe14c4a 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -876,6 +876,10 @@ CMP = cmp
AWKPROG = ../gawk$(EXEEXT)
PGAWKPROG = ../pgawk$(EXEEXT)
+# Default for VALGRIND is empty unless overridden by a command-line argument.
+# This protects against cruft in the environment.
+VALGRIND =
+
# This business forces the locale to be C for running the tests,
# unless we override it to something else for testing.
#
diff --git a/test/Makefile.in b/test/Makefile.in
index 86ce59a7..0e9a3ca0 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1082,6 +1082,10 @@ GENTESTS_UNUSED = Makefile.in gtlnbufv.awk printfloat.awk
CMP = cmp
AWKPROG = ../gawk$(EXEEXT)
PGAWKPROG = ../pgawk$(EXEEXT)
+
+# Default for VALGRIND is empty unless overridden by a command-line argument.
+# This protects against cruft in the environment.
+VALGRIND =
PGAWK = LC_ALL=$${GAWKLOCALE:-C} LANG=$${GAWKLOCALE:-C} AWKLIBPATH=../extension/.libs $(VALGRIND) $(PGAWKPROG)
all: all-am