Lines Matching refs:input_path
98 for input_path in tests + test_jsonchecker:
99 expect_failure = os.path.basename(input_path).startswith('fail')
100 is_json_checker_test = (input_path in test_jsonchecker) or expect_failure
101 print('TESTING:', input_path, end=' ')
105 input_path)
111 failed_tests.append((input_path, 'Parsing should have failed:\n%s' %
112 safeReadFile(input_path)))
118 failed_tests.append((input_path, 'Parsing failed:\n' + process_output))
122 base_path = os.path.splitext(input_path)[0]
128 failed_tests.append((input_path, 'Parsing failed:\n' + process_output))
130 expected_output_path = os.path.splitext(input_path)[0] + '.expected'
136 failed_tests.append((input_path, detail))
171 input_path = os.path.normpath(os.path.abspath(args[1]))
173 input_path = None
174 runAllTests(jsontest_executable_path, input_path,
178 runAllTests(jsontest_executable_path, input_path,
182 runAllTests(jsontest_executable_path, input_path,