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

[PATCH] Time taken to execute the test suite

From: Bhuvaneswaran A <bhuvan_at_collab.net>
Date: Thu, 08 Oct 2009 14:49:08 +0530

I'm in the process of generating junit file from Subversion build
process. The junit file is generated by parsing the log file, tests.log
created during "make check" process. The junit file can be used to
integrate the Subversion build with continuous integration tools like
Hudson. This patch is to follow ...

Meanwhile, please find attached a patch to print the time taken by each
test suite in the log file, if specified. The time may be mentioned in
the junit file associated to the test suite.

Can you please review this patch?

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 in
  "HH:MM:SShrs" format.

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

Received on 2009-10-08 11:19:49 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.