py3: conditionalize the python version in test-install.t
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 16 Dec 2018 15:47:08 -0500
changeset 40987 e1f759f1f691
parent 40986 97484e1d1834
child 40988 2465e0b27a0d
py3: conditionalize the python version in test-install.t
tests/test-install.t
--- 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 (?)