コード例 #1
0
 def run_tests():
     run_proc = [('subunit', output.ReturnCodeToSubunit(
         subprocess.Popen(run_cmd, shell=True,
                          stdout=subprocess.PIPE)))]
     return load.load((None, None), in_streams=run_proc,
                      partial=args.partial, subunit_out=args.subunit,
                      repo_type=args.repo_type,
                      repo_url=args.repo_url)
コード例 #2
0
 def run_tests():
     run_proc = [('subunit', output.ReturnCodeToSubunit(
         subprocess.Popen(run_cmd, shell=True,
                          stdout=subprocess.PIPE)))]
     return load.load(in_streams=run_proc,
                      subunit_out=subunit_out,
                      repo_type=repo_type,
                      repo_url=repo_url, run_id=combine_id,
                      pretty_out=pretty_out,
                      color=color, stdout=stdout, abbreviate=abbreviate,
                      suppress_attachments=suppress_attachments)
コード例 #3
0
 def run_tests():
     run_procs = [('subunit',
                   output.ReturnCodeToSubunit(
                       proc)) for proc in cmd.run_tests()]
     partial = False
     if (failing or analyze_isolation or isolated):
         partial = True
     if not run_procs:
         print("The specified regex doesn't match with anything.")
         return 0
     return load.load((None, None), in_streams=run_procs,
                      partial=partial, subunit_out=subunit_out,
                      repo_type=cmd.options.repo_type,
                      repo_url=cmd.options.repo_url)
コード例 #4
0
 def run_tests():
     run_procs = [('subunit',
                   output.ReturnCodeToSubunit(
                       proc)) for proc in cmd.run_tests()]
     if not run_procs:
         stdout.write("The specified regex doesn't match with anything")
         return 1
     return load.load((None, None), in_streams=run_procs,
                      subunit_out=subunit_out,
                      repo_type=repo_type,
                      repo_url=repo_url, run_id=combine_id,
                      pretty_out=pretty_out, color=color, stdout=stdout,
                      abbreviate=abbreviate,
                      suppress_attachments=suppress_attachments)