automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 8/8] tests: fix a spurious failure when $PYTHON is in the environ


From: Stefano Lattarini
Subject: [PATCH 8/8] tests: fix a spurious failure when $PYTHON is in the environment
Date: Mon, 19 Nov 2012 23:12:23 +0100

* t/python11.sh: This test doesn't interact well with user-overrides of
$PYTHON; and, given its particular nature, neither should it be expected
to honour that override.  Just unset that $PYTHON variable and live
happy.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/python11.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/t/python11.sh b/t/python11.sh
index e86d30e..a22826c 100755
--- a/t/python11.sh
+++ b/t/python11.sh
@@ -19,6 +19,9 @@
 # Python is not required for this test.
 . ./defs || exit 1
 
+# We don't want to allow user overrides in this test.
+PYTHON=; unset PYTHON
+
 cat >>configure.ac <<'EOF'
 m4_define([_AM_PYTHON_INTERPRETER_LIST], [IShouldNotExist1 IShouldNotExist2])
 AM_PATH_PYTHON
-- 
1.8.0.209.gf3828dc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]