Lines Matching refs:tests
6 """gyptest.py -- test runner for GYP tests."""
34 parser.add_argument("-a", "--all", action="store_true", help="run all tests")
41 help="run tests with the specified formats",
51 "-l", "--list", action="store_true", help="list available tests and exit"
74 parser.add_argument("tests", nargs="*")
85 if not args.tests:
87 sys.stderr.write("Specify -a to get all tests.\n")
89 args.tests = ["test"]
91 tests = []
92 for arg in args.tests:
94 tests.extend(find_all_gyptest_files(os.path.normpath(arg)))
99 tests.append(arg)
102 for test in tests:
138 runner = Runner(format_list, tests, gyp_options, args.verbose)
169 def __init__(self, formats, tests, gyp_options, verbose):
171 self.tests = tests
175 self.num_tests = len(formats) * len(tests)
187 for test in self.tests:
250 print("Failed the following %d tests:" % num_failures)
254 "Ran %d tests in %.3fs, %d failed."