Lines Matching full:path

28         apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister')
49 path = os.path.join(TEST_DATA, 'tests', 'dummy')
50 args = ['-i', '--outdir', out_path, '-T', path, '-y'] + \
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')
86 args = ['-i', '--outdir', out_path, '-T', path] + \
99 relpath = os.path.relpath(path, ZEPHYR_BASE)
100 sample_path = os.path.join(out_path, 'qemu_x86_atom', relpath, 'sample.basic.helloworld')
102 zephyr_listdir = os.listdir(os.path.join(sample_path, 'zephyr'))
115 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic', 'group2')
117 args = ['-i', '--outdir', out_path, '-T', path] + \
118 ['--short-build-path'] + \
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:
141 # Spaces, forward slashes, etc. in the path as well as CMake peculiarities
167 build_filename = os.path.basename(os.path.normpath(flag_value))
168 unshortened_build_path = os.path.join(test_result_path, build_filename)
169 assert flag_value != unshortened_build_path, 'Build path unchanged.'
170 assert len(flag_value) < len(unshortened_build_path), 'Build path not shortened.'
175 pipe_filename = os.path.basename(os.path.normpath(flag_value))
176 unshortened_pipe_path = os.path.join(test_result_path, pipe_filename)
177 assert flag_value != unshortened_pipe_path, 'Pipe path unchanged.'
178 assert len(flag_value) < len(unshortened_pipe_path), 'Pipe path not shortened.'
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,
186 args = ['-i', '--outdir', out_path, '-T', path] + \
207 path = os.path.join(TEST_DATA, 'samples', 'hello_world')
209 package_path = os.path.join(out_path, package_name)
210 args = ['-i', '--outdir', out_path, '-T', path] + \
224 assert any([path.endswith('zephyr.elf') for path in tar.getnames()])
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):
233 shutil.rmtree(os.path.join(out_path, clean_up))
237 tar.extractall(path=out_path)
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)
245 args = ['-i', '--outdir', out_path, '-T', path] + \