Lines Matching full:os
12 import os
28 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister')
49 path = os.path.join(TEST_DATA, 'tests', 'dummy')
57 os.mkdir(os.path.join(out_path))
60 straggler_path = os.path.join(out_path, straggler_name)
72 current_dirs = os.listdir(os.path.normpath(os.path.join(out_path, '..')))
76 out_contents = os.listdir(os.path.join(out_path))
85 path = os.path.join(TEST_DATA, 'samples', 'hello_world')
99 relpath = os.path.relpath(path, ZEPHYR_BASE)
100 sample_path = os.path.join(out_path, 'qemu_x86_atom', relpath, 'sample.basic.helloworld')
101 listdir = os.listdir(sample_path)
102 zephyr_listdir = os.listdir(os.path.join(sample_path, 'zephyr'))
115 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic', 'group2')
124 relative_test_path = os.path.relpath(path, ZEPHYR_BASE)
125 test_result_path = os.path.join(out_path, 'qemu_x86_atom',
134 with open(os.path.join(out_path, 'twister.log')) as f:
167 build_filename = os.path.basename(os.path.normpath(flag_value))
168 unshortened_build_path = os.path.join(test_result_path, build_filename)
175 pipe_filename = os.path.basename(os.path.normpath(flag_value))
176 unshortened_pipe_path = os.path.join(test_result_path, pipe_filename)
182 path = os.path.join(TEST_DATA, 'samples', 'hello_world')
183 relative_test_path = os.path.relpath(path, ZEPHYR_BASE)
184 zephyr_out_path = os.path.join(out_path, 'qemu_x86_atom', relative_test_path,
198 zephyr_artifact_list = os.listdir(zephyr_out_path)
207 path = os.path.join(TEST_DATA, 'samples', 'hello_world')
209 package_path = os.path.join(out_path, package_name)
227 for clean_up in os.listdir(os.path.join(out_path)):
229 clean_up_path = os.path.join(out_path, clean_up)
230 if os.path.isfile(clean_up_path):
231 os.remove(clean_up_path)
233 shutil.rmtree(os.path.join(out_path, clean_up))
241 file_names = os.listdir(os.path.join(out_path, os.path.basename(out_path)))
243 shutil.move(os.path.join(out_path, os.path.basename(out_path), file_name), out_path)