On 15/02/2017 22:06, Simon Farnsworth wrote:
diff --git a/tests/test-logtoprocess.t b/tests/test-logtoprocess.t
--- a/tests/test-logtoprocess.t
+++ b/tests/test-logtoprocess.t
@@ -61,10 +61,10 @@
> logtoprocess=
> pager=
> [logtoprocess]
- > uiblocked=echo "\$EVENT command \$OPT_COMMAND_DURATION ms"
+ > uiblocked=echo "\$EVENT stdio \$OPT_STDIO_BLOCKED ms command
\$OPT_COMMAND_DURATION ms"
> [ui]
> logblockedtimes=True
> EOF
$ hg log
- uiblocked command [0-9]+.[0-9]* ms (re)
+ uiblocked stdio [0-9]+.[0-9]* ms command [0-9]+.[0-9]* ms (re)
This test works for me locally, but the new regex seems to fail on the
buildbot:
https://buildbot.mercurial-scm.org/builders/hg%20tests/builds/710/steps/run-tests.py%20(python%202.7.10)/logs/stdio
- uiblocked stdio [0-9]+.[0-9]* ms command [0-9]+.[0-9]* ms (re)
+ uiblocked stdio 0.0138282775879 ms command 31.3360691071 ms
Can anyone see what I've done wrong? The regex is supposed to remove the
times, but clearly doesn't in some cases.
--
Simon Farnsworth
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel