[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8847: [PATCH 8/8] tests: fix a spurious failure when $PYTHON is in t
From: |
Stefano Lattarini |
Subject: |
bug#8847: [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
- bug#8847: [PATCH] Improve python support, Stefano Lattarini, 2012/11/19
- bug#8847: [PATCH 0/8] tests: support for PEP-3147, and testsuite fixes, Stefano Lattarini, 2012/11/19
- bug#8847: [PATCH 1/8] python: improve support for modern python (CPython 3.2 and PyPy), Stefano Lattarini, 2012/11/19
- bug#8847: [PATCH 2/8] news: document fix for bug#8847 (PEP-3147, __pycache__), Stefano Lattarini, 2012/11/19
- bug#8847: [PATCH 3/8] tests: typofix in message, Stefano Lattarini, 2012/11/19
- bug#8847: [PATCH 5/8] tests: improve a comment, Stefano Lattarini, 2012/11/19
- bug#8847: [PATCH 4/8] tests: honour $PYTHON override, Stefano Lattarini, 2012/11/19
- bug#8847: [PATCH 6/8] python: uninstall cater to PEP-3147, Stefano Lattarini, 2012/11/19
- bug#8847: [PATCH 8/8] tests: fix a spurious failure when $PYTHON is in the environment,
Stefano Lattarini <=
- bug#8847: [PATCH 7/8] python tests: support PEP-3147 installation layout, Stefano Lattarini, 2012/11/19
- bug#8847: [PATCH 0/8] tests: support for PEP-3147, and testsuite fixes, Stefano Lattarini, 2012/11/21