[PATCH 1 of 2] test-logtoprocess: don't run on Windows

Matt Harbison mharbison72 at gmail.com
Tue Jun 20 01:59:00 UTC 2017


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1497923063 14400
#      Mon Jun 19 21:44:23 2017 -0400
# Node ID 67a2a0b9a3bf90ecd4e876cdd5f4f94b570314ee
# Parent  661025fd3e1cd5d5e2dee12b7f64312d6cd48a0b
test-logtoprocess: don't run on Windows

Several bits of output were missing[1], unless the DETACHED_PROCESS flag is
_not_ passed to subprocess.Popen().  The problem with that is it briefly opens
and closes several cmd.exe windows on screen.  Foozy also mentioned some other
issues in that thread.

With this, the last of the long standing Windows failures fixed, the test suite
now runs cleanly (536 ran, 67 skipped) on Windows 7 x64, with python 2.7.13. \o/

[1] https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-April/096987.html

diff --git a/tests/test-logtoprocess.t b/tests/test-logtoprocess.t
--- a/tests/test-logtoprocess.t
+++ b/tests/test-logtoprocess.t
@@ -1,3 +1,5 @@
+#require no-windows
+
 ATTENTION: logtoprocess runs commands asynchronously. Be sure to append "| cat"
 to hg commands, to wait for the output, if you want to test its output.
 Otherwise the test will be flaky.


More information about the Mercurial-devel mailing list