Patchwork D7111: tests: opt into python3 when testing virtualenv installation

login
register
mail settings
Submitter phabricator
Date Oct. 16, 2019, 9:05 p.m.
Message ID <d58c71a8bcc3c0f1fea5dad0bbc97fc7@localhost.localdomain>
Download mbox | patch
Permalink /patch/42427/
State Not Applicable
Headers show

Comments

phabricator - Oct. 16, 2019, 9:05 p.m.
Closed by commit rHG97988ce08f0c: tests: opt into python3 when testing virtualenv installation (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7111?vs=17188&id=17263

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7111/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7111

AFFECTED FILES
  tests/test-install.t

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mjpieters, mercurial-devel

Patch

diff --git a/tests/test-install.t b/tests/test-install.t
--- a/tests/test-install.t
+++ b/tests/test-install.t
@@ -236,6 +236,11 @@ 
 
 #endif
 
+#if py3
+  $ HGALLOWPYTHON3=1
+  $ export HGALLOWPYTHON3
+#endif
+
 #if virtualenv
 
 Verify that Mercurial is installable with pip. Note that this MUST be