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

Re: [PATCH] Time taken to execute the test suite

From: Bhuvaneswaran A <bhuvan_at_collab.net>
Date: Fri, 09 Oct 2009 09:04:18 +0530

Thank you, Branko and Julian.

On Thu, 2009-10-08 at 20:32 +0200, Branko ─îibej wrote:
> Yes, I was going to say ... to make parsing the log file easier, the
> name of the test should be in the ELAPSED: line -- as per my
> suggestion
> in an earlier mail.

Yeah, i've included the test name in the ELAPSED: line.

> But +1, please go ahead and commit this. It looks like a nice change
> to
> back-port to 1.6, too.

hmm, i'm unable to commit. Is commit restricted for partial committers
to commit outside their area? I see this error:

bhuvan_at_rainbow:~/projects/subversion/build$ svn ci run_tests.py
--username bhuvan
svn: Commit failed (details follow):
svn: Server sent unexpected return value (403 Forbidden) in response to
MKACTIVITY request for '/repos/svn/!
svn: Your commit message was left in a temporary file:
svn: '/home/bhuvan/projects/subversion/build/svn-commit.tmp'

If yes, can someone commit the attached patch and propose to back-port
it to 1.6? If no, can someone who has access to svn.collab.net (Mike?)
fix this issue, please?

This fix adds the ability to print the time taken to execute each test.
The time taken is printed in the log file, if specified; otherwise in
the stdout interface.
* build/run_tests.py
  import time
  (TestHarness._run_test): Print the time taken by each test using
  following format:
  ELAPSED: test_name HH:MM:SS

Reviewed by: julianfoad

Bhuvaneswaran A    
CollabNet Software P Ltd.  |  www.collab.net

Received on 2009-10-09 05:34:44 CEST

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.