# HG changeset patch # User Yuya Nishihara # Date 2017-04-20 13:51:28 # Node ID 6e0368b6e0bb2aa5210daec091c0200583553a78 # Parent 49145a2b2fb0820c9fd57486c71976cc8942aed5 test-worker: disable tests of forked workers on Windows The number of the "Traceback" lines differs on Windows because the main process does not raise SystemExit. diff --git a/tests/test-worker.t b/tests/test-worker.t --- a/tests/test-worker.t +++ b/tests/test-worker.t @@ -70,6 +70,8 @@ Run tests without worker by forcing a lo run done +#if no-windows + Known exception should be caught, but printed if --traceback is enabled $ hg --config "extensions.t=$abspath" --config 'worker.numcpus=2' \ @@ -88,3 +90,5 @@ Traceback must be printed for unknown ex $ hg --config "extensions.t=$abspath" --config 'worker.numcpus=2' \ > test 100000.0 exc 2>&1 | grep '^Traceback' Traceback (most recent call last): + +#endif