Bug 1475: test.py --list should sort the output

Mitch Watrous 2012-07-23 17:45:28 -07:00
parent a20b7e8d49
commit 92a5cd99f5
1 changed files with 2 additions and 1 deletions

View File

@ -1113,7 +1113,8 @@ def run_tests():
if options.list:
path_cmd = os.path.join("utils", test_runner_name + " --print-test-name-list")
(rc, standard_out, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False)
print standard_out
list_items = standard_out.split('\n')
print "\n".join(sorted(list_items))
if options.kinds or options.list:
return