comparison tests/test-logtoprocess.t @ 32915:0afc4206d02b

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
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 19 Jun 2017 21:44:23 -0400
parents 46ba2cdda476
children fce4ed2912bb
comparison
equal deleted inserted replaced
32914:577759ef2ed2 32915:0afc4206d02b
1 #require no-windows
2
1 ATTENTION: logtoprocess runs commands asynchronously. Be sure to append "| cat" 3 ATTENTION: logtoprocess runs commands asynchronously. Be sure to append "| cat"
2 to hg commands, to wait for the output, if you want to test its output. 4 to hg commands, to wait for the output, if you want to test its output.
3 Otherwise the test will be flaky. 5 Otherwise the test will be flaky.
4 6
5 Test if logtoprocess correctly captures command-related log calls. 7 Test if logtoprocess correctly captures command-related log calls.