[PATCH] tests: redirect virtualenv stderr to same file as stdout
Augie Fackler
raf at durin42.com
Tue Jun 20 20:53:15 UTC 2017
# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1497991974 14400
# Tue Jun 20 16:52:54 2017 -0400
# Node ID ff3964f237d601e7c375c10fbf93029b5db39307
# Parent 0ce2cbebd74964ffe61e79de8941461bccc9371b
tests: redirect virtualenv stderr to same file as stdout
I'm seeing some failures on the Solaris buildbots due to a warning
about an old pip, but I can't reproduce this locally. Hopefully this helps.
diff --git a/tests/test-install.t b/tests/test-install.t
--- a/tests/test-install.t
+++ b/tests/test-install.t
@@ -185,7 +185,7 @@ Note: --no-site-packages is deprecated,
ancient virtualenv from their linux distro or similar and it's not yet
the default for them.
$ unset PYTHONPATH
- $ $PYTHON -m virtualenv --no-site-packages --never-download installenv >> pip.log
+ $ $PYTHON -m virtualenv --no-site-packages --never-download installenv >> pip.log 2>&1
Note: we use this weird path to run pip and hg to avoid platform differences,
since it's bin on most platforms but Scripts on Windows.
$ ./installenv/*/pip install $TESTDIR/.. >> pip.log
More information about the Mercurial-devel
mailing list