Wed, 31 Jan 2018 23:12:45 -0800 testrunner: make reading of test times work with #testcases
Martin von Zweigbergk <martinvonz@google.com> [Wed, 31 Jan 2018 23:12:45 -0800] rev 35854
testrunner: make reading of test times work with #testcases Due to a bug that will be fixed in the next patch, we never actually read back .testcases, so we didn't notice that it could not be parsed successfully when there are #testcases tests. The parsing failed on lines like "test-amend-subrepo.t (case obsstore-off) 32.420" because we used a simple string.split() call and expected all parts but the first to be floating point numbers (and "(case" isn't, for example). Fix by using a regex instead. Differential Revision: https://phab.mercurial-scm.org/D1960
Wed, 31 Jan 2018 11:04:16 -0800 tests: allow [Errno] in output
Gregory Szorc <gregory.szorc@gmail.com> [Wed, 31 Jan 2018 11:04:16 -0800] rev 35853
tests: allow [Errno] in output I'm not sure why, but my system is printing "[Errno -5]" before the "No address associated with hostname" message. I suspect a modern version of Python improved errno tracking or something. Add an "[Errno ...]" pattern as optional output to make the test pass. Differential Revision: https://phab.mercurial-scm.org/D1958
(0) -30000 -10000 -3000 -1000 -300 -100 -30 -10 -2 +2 +10 +30 +100 +300 +1000 +3000 +10000 tip