From 92a5cd99f5ffeba7e041bb893e266d1f4e9194bd Mon Sep 17 00:00:00 2001 From: Mitch Watrous Date: Mon, 23 Jul 2012 17:45:28 -0700 Subject: [PATCH] Bug 1475: test.py --list should sort the output --- test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test.py b/test.py index de14a6d1d..cb55be27d 100755 --- a/test.py +++ b/test.py @@ -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