Mercurial > hg
changeset 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 | 49145a2b2fb0 |
children | ad6c5497cd15 1527b3890674 |
files | tests/test-worker.t |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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