Lines Matching refs:test_file
63 for test_file in test_files:
64 rel_path = _make_relative_to_toolchain_utils(toolchain_utils, test_file)
66 python_tests.append(_python_test_to_spec(test_file))
130 def _python_test_to_spec(test_file): argument
134 test_directory = os.path.dirname(os.path.abspath(test_file))
135 file_name = os.path.basename(test_file)
137 if os.access(test_file, os.X_OK):
146 def _autodetect_python_tests_for(test_file, toolchain_utils): argument
148 if not test_file.endswith(".py"):
154 test_file_name = os.path.basename(test_file)
160 test_files = [test_file]
162 test_file_no_suffix = test_file[:-3]
165 dir_name = os.path.dirname(test_file)