[PATCH 3 of 3 V4] test-run-tests.t: added test for '--time' option with '--job' enabled
Anurag Goel
anurag.dsps at gmail.com
Sat Jun 21 11:21:47 CDT 2014
# HG changeset patch
# User anuraggoel <anurag.dsps at gmail.com>
# Date 1403366884 -19800
# Sat Jun 21 21:38:04 2014 +0530
# Node ID 8b70b41c39a268ea87740961d4f046c10629b326
# Parent ce69b3b23dbebf1b674f235036e97c78686aac63
test-run-tests.t: added test for '--time' option with '--job' enabled
Below patch checks the behaviour of '--time' option with '--job' enabled.
diff -r ce69b3b23dbe -r 8b70b41c39a2 tests/test-run-tests.t
--- a/tests/test-run-tests.t Sat Jun 21 21:14:55 2014 +0530
+++ b/tests/test-run-tests.t Sat Jun 21 21:38:04 2014 +0530
@@ -211,3 +211,13 @@
# Ran 2 tests, 0 skipped, 0 warned, 1 failed.
python hash seed: * (glob)
[1]
+
+test for --time with --job enabled
+=====================================
+
+ $ $TESTDIR/run-tests.py --with-hg=`which hg` test-success.t --time --job 16
+ .
+ # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
+ # Producing time report
+ cuser csys real Test
+ [\d.\s]{23} test-success.t (re)
More information about the Mercurial-devel
mailing list