# HG changeset patch # User Matt Harbison # Date 2018-12-16 20:47:08 # Node ID e1f759f1f6911fcab86e38ddbb29fe84a0a3b28e # Parent 97484e1d1834df346c305ec60fd8f6f3b9b24227 py3: conditionalize the python version in test-install.t diff --git a/tests/test-install.t b/tests/test-install.t --- a/tests/test-install.t +++ b/tests/test-install.t @@ -2,7 +2,8 @@ hg debuginstall $ 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 @@ hg debuginstall with no username $ 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 @@ path variables are expanded (~ is the sa $ 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 @@ not found (this is intentionally using b $ 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 @@ since it's bin on most platforms but Scr $ ./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 (?)