diff tests/test-worker.t @ 32061:6e0368b6e0bb stable

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.
author Yuya Nishihara <yuya@tcha.org>
date Thu, 20 Apr 2017 22:51:28 +0900
parents b844d0d367e2
children 31763785094b
line wrap: on
line diff
--- 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