Add build path info to runtest --list_tests

BUG 2133198
This commit is contained in:
Brett Chabot
2009-09-21 17:48:26 -07:00
parent bcdcd9d4d5
commit be659c08d2

View File

@@ -186,9 +186,13 @@ class TestRunner(object):
def _DumpTests(self):
"""Prints out set of defined tests."""
print "The following tests are currently defined:"
print "The following tests are currently defined:\n"
print "%-25s %-40s %s" % ("name", "build path", "description")
print "-" * 80
for test in self._known_tests:
print "%-15s %s" % (test.GetName(), test.GetDescription())
print "%-25s %-40s %s" % (test.GetName(), test.GetBuildPath(),
test.GetDescription())
print "\nSee %s for more information" % self._TEST_FILE_NAME
def _DoBuild(self):
logger.SilentLog("Building tests...")