[asterisk-commits] russell: branch russell/messaging r1068 - /asterisk/team/russell/messaging/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 3 16:46:08 CST 2010
Author: russell
Date: Fri Dec 3 16:46:04 2010
New Revision: 1068
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1068
Log:
Only spit out the big tree of all tests when all tests were actually run, and -t wasn't used
Modified:
asterisk/team/russell/messaging/runtests.py
Modified: asterisk/team/russell/messaging/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/russell/messaging/runtests.py?view=diff&rev=1068&r1=1067&r2=1068
==============================================================================
--- asterisk/team/russell/messaging/runtests.py (original)
+++ asterisk/team/russell/messaging/runtests.py Fri Dec 3 16:46:04 2010
@@ -387,20 +387,21 @@
test_suite.run()
- print "\n=== TEST RESULTS ===\n"
- print "PATH: %s\n" % os.getenv("PATH")
- for t in test_suite.tests:
- sys.stdout.write("--> %s --- " % t.test_name)
- if t.did_run is False:
- print "SKIPPED"
- for d in t.deps:
- print " --> Dependency: %s -- Met: %s" % (d.name,
- str(d.met))
- continue
- if t.passed is True:
- print "PASSED"
- else:
- print "FAILED"
+ if not options.test:
+ print "\n=== TEST RESULTS ===\n"
+ print "PATH: %s\n" % os.getenv("PATH")
+ for t in test_suite.tests:
+ sys.stdout.write("--> %s --- " % t.test_name)
+ if t.did_run is False:
+ print "SKIPPED"
+ for d in t.deps:
+ print " --> Dependency: %s -- Met: %s" % (d.name,
+ str(d.met))
+ continue
+ if t.passed is True:
+ print "PASSED"
+ else:
+ print "FAILED"
print "\n"
More information about the asterisk-commits
mailing list