aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2019-08-01 17:55:42 -0400
committerGreg Hudson <ghudson@mit.edu>2019-08-02 15:23:46 -0400
commitdd402f9f868da110df64db42ec10335d7c96d14f (patch)
tree6c7a23ca80c1dcb4e9a3d84d899e8a59fb78239b /src/Makefile.in
parentad6ba3a46b07aee4a8bb44ec4fb4cdc320edaa5a (diff)
downloadkrb5-dd402f9f868da110df64db42ec10335d7c96d14f.zip
krb5-dd402f9f868da110df64db42ec10335d7c96d14f.tar.gz
krb5-dd402f9f868da110df64db42ec10335d7c96d14f.tar.bz2
Require Python 3.2.4 for test scripts
In Python 3 releases before 3.2.4, the subprocess.Popen.communicate method does not accept string inputs when universal_newlines=True is set (see https://bugs.python.org/issue16903). Also substitute the minimum Python version displayed by "make check-pytests-no" from configure.ac to help keep it in sync with the minimum version we check for.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 31135ff..691f86c 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -494,8 +494,9 @@ check-prerecurse: runenv.py
check-unix: check-lmdb-$(HAVE_LMDB)
cat $(SKIPTESTS)
+MINPYTHON = @PYTHON_MINVERSION@
check-pytests-no: check-postrecurse
- @echo 'Skipped python test scripts: python 3 required' >> \
+ @echo 'Skipped python test scripts: python $(MINPYTHON) required' >> \
$(SKIPTESTS)
check-cmocka-no: check-postrecurse