[asterisk-commits] russell: testsuite/asterisk/trunk r1082 - /asterisk/trunk/runtests.py
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Dec 6 15:29:26 CST 2010
Author: russell
Date: Mon Dec 6 15:29:22 2010
New Revision: 1082
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1082
Log:
Only print the giant tree of tests and dependencies when -t is not used.
Modified:
asterisk/trunk/runtests.py
Modified: asterisk/trunk/runtests.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/runtests.py?view=diff&rev=1082&r1=1081&r2=1082
==============================================================================
--- asterisk/trunk/runtests.py (original)
+++ asterisk/trunk/runtests.py Mon Dec 6 15:29:22 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