changeset 40974:e1f759f1f691

py3: conditionalize the python version in test-install.t
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 16 Dec 2018 15:47:08 -0500
parents 97484e1d1834
children 2465e0b27a0d
files tests/test-install.t
diffstat 1 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-install.t	Sun Dec 16 18:51:48 2018 +0000
+++ b/tests/test-install.t	Sun Dec 16 15:47:08 2018 -0500
@@ -2,7 +2,8 @@
   $ hg debuginstall
   checking encoding (ascii)...
   checking Python executable (*) (glob)
-  checking Python version (2.*) (glob)
+  checking Python version (2.*) (glob) (no-py3 !)
+  checking Python version (3.*) (glob) (py3 !)
   checking Python lib (*lib*)... (glob)
   checking Python security support (*) (glob)
     TLS 1.2 not supported by Python install; network connections lack modern security (?)
@@ -57,7 +58,8 @@
   $ HGUSER= hg debuginstall
   checking encoding (ascii)...
   checking Python executable (*) (glob)
-  checking Python version (2.*) (glob)
+  checking Python version (2.*) (glob) (no-py3 !)
+  checking Python version (3.*) (glob) (py3 !)
   checking Python lib (*lib*)... (glob)
   checking Python security support (*) (glob)
     TLS 1.2 not supported by Python install; network connections lack modern security (?)
@@ -101,7 +103,8 @@
   $ HGEDITOR="~/tools/testeditor.exe" hg debuginstall
   checking encoding (ascii)...
   checking Python executable (*) (glob)
-  checking Python version (*) (glob)
+  checking Python version (2.*) (glob) (no-py3 !)
+  checking Python version (3.*) (glob) (py3 !)
   checking Python lib (*lib*)... (glob)
   checking Python security support (*) (glob)
     TLS 1.2 not supported by Python install; network connections lack modern security (?)
@@ -125,7 +128,8 @@
   $ HGEDITOR="c:\foo\bar\baz.exe -y -z" hg debuginstall
   checking encoding (ascii)...
   checking Python executable (*) (glob)
-  checking Python version (*) (glob)
+  checking Python version (2.*) (glob) (no-py3 !)
+  checking Python version (3.*) (glob) (py3 !)
   checking Python lib (*lib*)... (glob)
   checking Python security support (*) (glob)
     TLS 1.2 not supported by Python install; network connections lack modern security (?)
@@ -240,7 +244,8 @@
   $ ./installenv/*/hg debuginstall || cat pip.log
   checking encoding (ascii)...
   checking Python executable (*) (glob)
-  checking Python version (2.*) (glob)
+  checking Python version (2.*) (glob) (no-py3 !)
+  checking Python version (3.*) (glob) (py3 !)
   checking Python lib (*)... (glob)
   checking Python security support (*) (glob)
     TLS 1.2 not supported by Python install; network connections lack modern security (?)