test.py
changeset 9073 24a5b2e6f691
parent 9072 7bfaded450be
child 9074 52d752ab185d
equal deleted inserted replaced
9072:7bfaded450be 9073:24a5b2e6f691
  1183     #
  1183     #
  1184     if len(options.suite):
  1184     if len(options.suite):
  1185         # See if this is a valid test suite.
  1185         # See if this is a valid test suite.
  1186         path_cmd = os.path.join("utils", test_runner_name + " --print-test-name-list")
  1186         path_cmd = os.path.join("utils", test_runner_name + " --print-test-name-list")
  1187         (rc, suites, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False)
  1187         (rc, suites, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False)
  1188         if options.suite in suites:
  1188         if options.suite in suites.split('\n'):
  1189             suites = options.suite + "\n"
  1189             suites = options.suite + "\n"
  1190         else:
  1190         else:
  1191             print >> sys.stderr, 'The test suite was not run because an unknown test suite name was requested.'
  1191             print >> sys.stderr, 'The test suite was not run because an unknown test suite name was requested.'
  1192             sys.exit(2)
  1192             sys.exit(2)
  1193 
  1193