Lines Matching refs:script
25 def get_child_script_dirname(script): argument
27 return os.path.dirname(os.path.abspath(os.path.join(root_dir, script)))
30 def get_executable_name(script): argument
31 with open(script, 'r') as f:
41 def paths_from_auto_script(script, param): argument
42 script_dir = get_child_script_dirname(script)
46 res = subprocess.check_output([exe, os.path.basename(script), param],
49 print('Error with auto_script %s: %s, executable %s' % (param, script, exe))
60 def auto_script(script): argument
62 'inputs': paths_from_auto_script(script, 'inputs'),
63 'outputs': paths_from_auto_script(script, 'outputs')
188 def update_output_hashes(script, outputs, new_hashes): argument
191 print('Output is missing from %s: %s' % (script, output))
239 for _, script in sorted(ranGenerators.items()):
240 infos[script] = executor.submit(auto_script, script)
242 for name, script in sorted(ranGenerators.items()):
243 info = infos[script].result()
245 filenames = info['inputs'] + info['outputs'] + [script]
257 exe = get_executable_name(script)
258 subprocess.check_call([exe, os.path.basename(script)],
259 cwd=get_child_script_dirname(script))
269 for name, script in sorted(hashless_generators.items()):
270 cmd = [get_executable_name(script), os.path.basename(script)]
271 rc = subprocess.call(cmd + ['--verify-only'], cwd=get_child_script_dirname(script))
279 subprocess.check_call(cmd, cwd=get_child_script_dirname(script))
298 for name, script in sorted(ranGenerators.items()):
299 info = auto_script(script)