tests: opt into python3 when testing virtualenv installation
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 15 Oct 2019 21:51:37 -0400
changeset 43267 a324f6a0cfd3
parent 43266 8d02e3c86815
child 43268 e88549a02f5e
tests: opt into python3 when testing virtualenv installation Otherwise it complains that Mercurial requires '~=2.7'. Since the existing linux py3 test doesn't flag this, I'm assuming that virtualenv simply isn't installed on that system. Differential Revision: https://phab.mercurial-scm.org/D7111
tests/test-install.t
--- a/tests/test-install.t	Sun Oct 06 15:17:34 2019 +0530
+++ b/tests/test-install.t	Tue Oct 15 21:51:37 2019 -0400
@@ -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