test-worker: disable tests of forked workers on Windows stable
authorYuya Nishihara <yuya@tcha.org>
Thu, 20 Apr 2017 22:51:28 +0900
branchstable
changeset 32061 6e0368b6e0bb
parent 32060 49145a2b2fb0
child 32062 ad6c5497cd15
child 32106 1527b3890674
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.
tests/test-worker.t
--- a/tests/test-worker.t	Thu Apr 20 22:45:45 2017 +0900
+++ b/tests/test-worker.t	Thu Apr 20 22:51:28 2017 +0900
@@ -70,6 +70,8 @@
   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 @@
   $ hg --config "extensions.t=$abspath" --config 'worker.numcpus=2' \
   > test 100000.0 exc 2>&1 | grep '^Traceback'
   Traceback (most recent call last):
+
+#endif