Home
last modified time | relevance | path

Searched refs:script_dir (Results 1 – 25 of 51) sorted by relevance

123

/external/python/cpython2/Lib/test/
Dtest_cmd_line_script.py43 def _make_test_script(script_dir, script_basename, source=test_source): argument
44 return make_script(script_dir, script_basename, source)
61 def _make_launch_script(script_dir, script_basename, module_name, path=None): argument
67 return make_script(script_dir, script_basename, source)
102 with temp_dir() as script_dir:
103 script_name = _make_test_script(script_dir, 'script')
107 with temp_dir() as script_dir:
108 script_name = _make_test_script(script_dir, 'script')
114 with temp_dir() as script_dir:
115 script_name = _make_test_script(script_dir, '__main__')
[all …]
Dtest_runpy.py333 def _make_test_script(self, script_dir, script_basename, source=None): argument
336 return make_script(script_dir, script_basename, source)
352 with temp_dir() as script_dir:
354 script_name = self._make_test_script(script_dir, mod_name)
359 with temp_dir() as script_dir:
361 script_name = self._make_test_script(script_dir, mod_name)
368 with temp_dir() as script_dir:
370 script_name = self._make_test_script(script_dir, mod_name)
371 self._check_script(script_dir, "<run_path>", script_name,
372 script_dir, '')
[all …]
/external/python/cpython3/Lib/test/
Dtest_cmd_line_script.py78 def _make_test_script(script_dir, script_basename, source=test_source): argument
79 to_return = make_script(script_dir, script_basename, source)
217 with support.temp_dir() as script_dir:
218 script_name = _make_test_script(script_dir, 'script')
220 script_dir, None,
222 expected_cwd=script_dir)
227 with support.temp_cwd() as script_dir:
228 self.assertTrue(os.path.isabs(script_dir), script_dir)
230 script_name = _make_test_script(script_dir, 'script')
233 script_dir, None,
[all …]
Dtest_multiprocessing_main_handling.py109 def _make_test_script(script_dir, script_basename, argument
111 to_return = make_script(script_dir, script_basename,
115 make_script(script_dir, "sibling", "")
136 def _make_launch_script(script_dir, script_basename, module_name, path=None): argument
142 to_return = make_script(script_dir, script_basename, source)
170 with support.temp_dir() as script_dir:
171 script_name = _make_test_script(script_dir, 'script')
175 with support.temp_dir() as script_dir:
176 script_name = _make_test_script(script_dir, 'script',
186 with support.temp_dir() as script_dir:
[all …]
Dtest_runpy.py596 def _make_test_script(self, script_dir, script_basename, argument
600 return make_script(script_dir, script_basename,
653 with temp_dir() as script_dir:
655 script_name = self._make_test_script(script_dir, mod_name)
660 with temp_dir() as script_dir:
662 script_name = pathlib.Path(self._make_test_script(script_dir,
668 with temp_dir() as script_dir:
670 script_name = self._make_test_script(script_dir, mod_name,
676 with temp_dir() as script_dir:
678 script_name = self._make_test_script(script_dir, mod_name)
[all …]
/external/swiftshader/src/OpenGL/compiler/
Dgenerate_parser.sh20 input_file=$script_dir/$1.l
21 output_source=$script_dir/$1_lex.cpp
27 input_file=$script_dir/$1.y
28 output_header=$script_dir/$1_tab.h
29 output_source=$script_dir/$1_tab.cpp
33 script_dir=$(dirname $0)
/external/swiftshader/src/OpenGL/compiler/preprocessor/
Dgenerate_parser.sh20 input_file=$script_dir/$1
21 output_source=$script_dir/$2
27 input_file=$script_dir/$1
28 output_source=$script_dir/$2
32 script_dir=$(dirname $0)
/external/chromium-trace/
Dupdate.py25 script_dir = os.path.dirname(os.path.abspath(sys.argv[0])) variable
26 catapult_src_dir = os.path.join(script_dir, 'catapult-upstream')
27 catapult_dst_dir = os.path.join(script_dir, 'catapult')
43 p = subprocess.Popen(git_args, stdout=subprocess.PIPE, cwd=script_dir)
/external/google-breakpad/src/build/
Dgyp_breakpad35 script_dir = os.path.dirname(os.path.realpath(__file__)) variable
36 breakpad_root = os.path.abspath(os.path.join(script_dir, os.pardir))
50 args.append(os.path.join(script_dir, 'all.gyp'))
/external/autotest/metadata/
Dgenerate_proto_descriptors.sh16 readonly script_dir="$(dirname "$(realpath -e "${BASH_SOURCE[0]}")")"
17 readonly target="${script_dir}/proto/descpb.bin"
46 export PATH="${script_dir}/${cipd_root}:${PATH}"
/external/autotest/client/bin/
Dupdate_intel_pci_ids59 script_dir = os.path.dirname(os.path.realpath(__file__))
60 out_file = os.path.join(script_dir, 'intel_pci_ids.json')
61 local_repo = os.path.join(script_dir, '../../../../mesa')
/external/libyuv/files/tools_libyuv/valgrind/
Dlibyuv_tests.py61 script_dir = path_utils.ScriptDir()
62 old_base, _ = os.path.split(script_dir)
64 checkout_src = os.path.abspath(os.path.join(script_dir, os.pardir,
70 add_suppressions.append(token.replace(script_dir, new_dir))
/external/libchrome/build/
Dgyp_chromium.py14 script_dir = os.path.dirname(os.path.realpath(__file__)) variable
15 chrome_src = os.path.abspath(os.path.join(script_dir, os.pardir))
64 '-I', os.path.join(script_dir, 'common.gypi'),
Drun_swarming_xcode_install.py39 script_dir = os.path.dirname(os.path.abspath(__file__))
43 shutil.copyfile(os.path.join(script_dir, 'swarming_xcode_install.py'),
45 shutil.copyfile(os.path.join(script_dir, 'mac_toolchain.py'),
/external/tensorflow/tensorflow/python/platform/
Dresource_loader.py72 script_dir = get_data_files_path()
77 directories = [script_dir]
100 return data_files_dir or script_dir
/external/tensorflow/tensorflow/tools/ci_build/windows/cpu/bazel/
Drun_cc_test_windows.sh34 script_dir=$(dirname $0)
35 cd ${script_dir%%tensorflow/tools/ci_build/windows/cpu/bazel}.
/external/tensorflow/tensorflow/tools/ci_build/windows/gpu/bazel/
Drun_cc_test_windows.sh34 script_dir=$(dirname $0)
35 cd ${script_dir%%tensorflow/tools/ci_build/windows/gpu/bazel}.
/external/angle/src/tests/restricted_traces/
Dretrace_restricted_traces.py33 script_dir = os.path.dirname(sys.argv[0])
34 return os.path.join(script_dir, trace)
122 script_dir = os.path.dirname(sys.argv[0])
125 with open(os.path.join(script_dir, DEFAULT_TEST_JSON)) as f:
/external/angle/scripts/
Dmsvs_projects.py18 script_dir = os.path.dirname(sys.argv[0]) variable
21 os.chdir(os.path.join(script_dir, '..'))
Drun_code_generation.py17 script_dir = sys.path[0] variable
18 root_dir = os.path.abspath(os.path.join(script_dir, '..'))
209 os.chdir(script_dir)
263 os.chdir(script_dir)
Dupdate_canary_angle.py17 script_dir = os.path.dirname(sys.argv[0]) variable
18 os.chdir(os.path.join(script_dir, ".."))
/external/markdown/
Dsetup.py16 script_dir = os.path.join(sys.prefix, 'Scripts')
17 script_path = os.path.join(script_dir, 'markdown')
/external/chromium-trace/catapult/systrace/systrace/
Dsystrace_runner.py26 def __init__(self, script_dir, options): argument
35 self._script_dir = script_dir
/external/tensorflow/tensorflow/lite/tools/
Dbuild_aar_with_docker.sh88 docker run --rm -it -v $PWD:/host_dir -v ${SCRIPT_DIR}:/script_dir ${FLAG_DIR} \
89 --entrypoint /script_dir/build_aar_with_docker.sh tflite-builder \
/external/webrtc/tools_webrtc/perf/
Dwebrtc_dashboard_upload.py66 script_dir = os.path.dirname(os.path.realpath(__file__))
68 os.path.join(script_dir, os.pardir, os.pardir))

123