1109 path_cmd = os.path.join("utils", test_runner_name + " --print-test-type-list") |
1109 path_cmd = os.path.join("utils", test_runner_name + " --print-test-type-list") |
1110 (rc, standard_out, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False) |
1110 (rc, standard_out, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False) |
1111 print standard_out |
1111 print standard_out |
1112 |
1112 |
1113 if options.list: |
1113 if options.list: |
1114 path_cmd = os.path.join("utils", test_runner_name + " --print-test-name-list") |
1114 if len(options.constrain): |
|
1115 path_cmd = os.path.join("utils", test_runner_name + " --print-test-name-list --test-type=%s" % options.constrain) |
|
1116 else: |
|
1117 path_cmd = os.path.join("utils", test_runner_name + " --print-test-name-list") |
1115 (rc, standard_out, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False) |
1118 (rc, standard_out, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False) |
1116 list_items = standard_out.split('\n') |
1119 list_items = standard_out.split('\n') |
1117 print "\n".join(sorted(list_items)) |
1120 print "\n".join(sorted(list_items)) |
1118 |
1121 |
1119 if options.kinds or options.list: |
1122 if options.kinds or options.list: |