Lines Matching refs:path
29 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
41 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
52 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
61 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
71 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
83 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
94 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
106 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
113 os.path.join(TEST_DATA, 'tests', 'one_fail_two_error_one_pass'),
123 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister')
154 path = os.path.join(out_path, f_name)
155 assert os.path.exists(path), 'file not found'
157 if path.endswith(".json"):
158 with open(path, "r") as json_file:
162 elif path.endswith(".xml"):
163 tree = etree.parse(path)
167 elif path.endswith(".log"):
168 with open(path, "r") as log_file:
176 platform_path = os.path.join(out_path, f_platform.replace("/", "_") + ".json", )
177 assert os.path.exists(platform_path), f'file not found {f_platform}'
203 path = os.path.join(out_path, f_name)
204 assert os.path.exists(path), f'file not found {f_name}'
235 path = os.path.join(out_path, f_name)
236 assert os.path.exists(path), f'file not found {f_name}'
253 twister_path = os.path.join(ZEPHYR_BASE, dir_name)
254 if os.path.exists(twister_path):
267 path = os.path.join(twister_path, f_name)
268 assert os.path.exists(path), f'file not found {f_name}'
272 twister_path = os.path.join(ZEPHYR_BASE, dir_name)
273 if os.path.exists(twister_path):
290 twister_path = os.path.join(ZEPHYR_BASE, dir_name)
291 if os.path.exists(twister_path):
304 path = os.path.join(twister_path, f_name)
305 assert os.path.exists(path), 'file not found {f_name}'
308 platform_path = os.path.join(twister_path, f_platform.replace("/", "_"))
309 assert os.path.exists(platform_path), f'file not found {f_platform}'
313 twister_path = os.path.join(ZEPHYR_BASE, dir_name)
314 if os.path.exists(twister_path):
330 file_path = os.path.join(ZEPHYR_BASE, file_name)
331 if os.path.exists(file_path):
342 assert os.path.exists(file_path), 'file not found {f_name}'
350 os.path.join(TEST_DATA, 'tests', 'dummy'),
355 os.path.join(TEST_DATA, 'tests', 'dummy'),
377 xml_data = etree.parse(os.path.join(out_path, 'twister_report.xml')).getroot()
393 (os.path.join(TEST_DATA, 'tests', 'dummy'), False, 0),
394 (os.path.join(TEST_DATA, 'tests', 'dummy'), True, 10),
412 with open(os.path.join(out_path, 'twister.json')) as f:
424 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'device', 'group')
425 args = ['-i', '--outdir', out_path, '-T', path] + \
437 with open(os.path.join(out_path, 'twister.json')) as f:
440 expected_rel_path = os.path.relpath(os.path.join(path, 'dummy.device.group'), ZEPHYR_BASE)