[asterisk-scf-commits] asterisk-scf/integration/testsuite.git branch "review" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Jun 1 22:14:48 CDT 2011


branch "review" has been updated
       via  13f8414d6ad83188af20b1dde53dbab303011c9f (commit)
      from  ce17d4aee11e861731e854df2c968faa67ba891f (commit)

Summary of changes:
 testsuite.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 13f8414d6ad83188af20b1dde53dbab303011c9f
Author: Darren Sessions <dsessions at digium.com>
Date:   Wed Jun 1 22:14:22 2011 -0500

    added the job time to the console output of the testsuite

diff --git a/testsuite.py b/testsuite.py
index 09f0d64..1425cb1 100755
--- a/testsuite.py
+++ b/testsuite.py
@@ -119,7 +119,7 @@ class __main__:
                                     subTestElement, errorMsgs = xml().addFailure(subTestElement, ['%s' % runResults['msg']])
                                     break
                 
-                                print >> sys.stderr, '   |- Test "' + testName + '" - PASSED!'
+                                print >> sys.stderr, '   |- Test "' + testName + '" - PASSED! %s.%s' % (timerDelta.seconds, timerDelta.microseconds)
                                 subTestElement = xml().setProperty(subTestElement, 'time', '%s.%s' % (timerDelta.seconds, timerDelta.microseconds))
                             else:
                                 print >> sys.stderr, '   |- Test "' + testName + '" - FAILED!\n    \- No test data defined!'

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/testsuite.git



More information about the asterisk-scf-commits mailing list