Lines Matching refs:ns
76 def get_abs_module(ns, test): argument
77 if test.startswith('test.') or ns.testdir:
84 def runtest(ns, test): argument
105 output_on_failure = ns.verbose3
107 use_timeout = (ns.timeout is not None)
109 faulthandler.dump_traceback_later(ns.timeout, exit=True)
111 support.set_match_tests(ns.match_tests)
115 support.junit_xml_list = xml_list = [] if ns.xmlpath else None
116 if ns.failfast:
127 result = runtest_inner(ns, test, display_failure=False)
136 support.verbose = ns.verbose # Tell tests to be moderately quiet
137 result = runtest_inner(ns, test, display_failure=not ns.verbose)
148 cleanup_test_droppings(test, ns.verbose)
156 def runtest_inner(ns, test, display_failure=True): argument
162 abstest = get_abs_module(ns, test)
164 with saved_test_environment(test, ns.verbose, ns.quiet, pgo=ns.pgo) as environment:
179 if ns.huntrleaks:
180 refleak = dash_R(the_module, test, test_runner, ns.huntrleaks)
186 if not ns.quiet and not ns.pgo:
190 if not ns.quiet and not ns.pgo:
196 if not ns.pgo:
207 if not ns.pgo: