[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Better progress information in run_tests.py

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-06-18 19:51:58 CEST

Osku Salerma wrote:
> I don't know about the rest of you, but since running all the tests takes
> a considerable amount of time, I'd like some information about how many
> tests are left. The attached patch modifies run_tests.py so that running
> the testsuite now prints:
>
> Running all tests in compat-test [1/46]...success
> Running all tests in config-test [2/46]...success
> Running all tests in diff-diff3-test [3/46]...success
>
> and so on.

I like this and the patch looks fine. Committed in r20161.

> [[[
> * build/run_tests.py
> (_run_test): Print information about number of tests left.
> ]]]

That log message is incomplete. Here's what I wrote:

[[[
Provide numeric progress information when running the test suite, as it was
difficult to judge the progress without it.

Patch by: Osku Salerma <osku@iki.fi>

* build/run_tests.py
   (TestHarness::run): Pass the current and total test numbers to _run_test().
   (TestHarness::_run_test): Accept progress count arguments and print them
     after the test's name (in the form "[1/47]" for the first of 47 tests).
]]]

Thanks for the patch.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 18 19:52:12 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.