[PATCH 3 of 3 V4] test-run-tests.t: added test for '--time' option with '--job' enabled

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Jun 23 03:48:45 CDT 2014



On 06/21/2014 09:21 AM, Anurag Goel wrote:
> # 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.

We are still waiting for a proof that the new --time return proper 
result un the --job case)

>
> 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)
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list