[svn-commits] mjordan: testsuite/asterisk/trunk r3995 - /asterisk/trunk/runtests.py

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Aug 7 22:24:51 CDT 2013


Author: mjordan
Date: Wed Aug  7 22:24:49 2013
New Revision: 3995

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3995
Log:
Print out the test pass/fail status as tests complete

While the final test summary will list out all of the pass/fail statuses of all
tests, it is sometimes useful to know as tests are running if they passed or
failed. Sometimes this can be gleaned from WARNING/ERROR messages coming from
the running process; sometimes, however, processes don't display much when
they fail.

This adds a single line of output to display if the test passed or failed.

Modified:
    asterisk/trunk/runtests.py

Modified: asterisk/trunk/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/runtests.py?view=diff&rev=3995&r1=3994&r2=3995
==============================================================================
--- asterisk/trunk/runtests.py (original)
+++ asterisk/trunk/runtests.py Wed Aug  7 22:24:49 2013
@@ -82,6 +82,7 @@
             if not self.passed:
                 self.__archive_ast_logs()
                 self.__archive_pcap_dump()
+            print 'Test %s %s' % (cmd, 'passed' if self.passed else 'failed')
 
         else:
             print "FAILED TO EXECUTE %s, it must exist and be executable" % cmd




More information about the svn-commits mailing list