Lines Matching full:path

30             os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
42 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
53 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
62 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
72 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
84 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
95 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
107 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
114 os.path.join(TEST_DATA, 'tests', 'one_fail_two_error_one_pass'),
124 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister')
155 path = os.path.join(out_path, f_name)
156 assert os.path.exists(path), 'file not found'
158 if path.endswith(".json"):
159 with open(path, "r") as json_file:
161 assert data, f"JSON file '{path}' is empty"
163 elif path.endswith(".xml"):
164 tree = etree.parse(path)
166 assert xml_text.strip(), f"XML file '{path}' is empty"
168 elif path.endswith(".log"):
169 with open(path, "r") as log_file:
171 assert text_content.strip(), f"LOG file '{path}' is empty"
174 pytest.fail(f"Unsupported file type: '{path}'")
177 platform_path = os.path.join(out_path, f_platform.replace("/", "_") + ".json", )
178 assert os.path.exists(platform_path), f'file not found {f_platform}'
204 path = os.path.join(out_path, f_name)
205 assert os.path.exists(path), f'file not found {f_name}'
236 path = os.path.join(out_path, f_name)
237 assert os.path.exists(path), f'file not found {f_name}'
254 twister_path = os.path.join(ZEPHYR_BASE, dir_name)
255 if os.path.exists(twister_path):
268 path = os.path.join(twister_path, f_name)
269 assert os.path.exists(path), f'file not found {f_name}'
273 twister_path = os.path.join(ZEPHYR_BASE, dir_name)
274 if os.path.exists(twister_path):
291 twister_path = os.path.join(ZEPHYR_BASE, dir_name)
292 if os.path.exists(twister_path):
305 path = os.path.join(twister_path, f_name)
306 assert os.path.exists(path), 'file not found {f_name}'
309 platform_path = os.path.join(twister_path, f_platform.replace("/", "_"))
310 assert os.path.exists(platform_path), f'file not found {f_platform}'
314 twister_path = os.path.join(ZEPHYR_BASE, dir_name)
315 if os.path.exists(twister_path):
331 file_path = os.path.join(ZEPHYR_BASE, file_name)
332 if os.path.exists(file_path):
343 assert os.path.exists(file_path), 'file not found {f_name}'
351 os.path.join(TEST_DATA, 'tests', 'dummy'),
356 os.path.join(TEST_DATA, 'tests', 'dummy'),
378 xml_data = etree.parse(os.path.join(out_path, 'twister_report.xml')).getroot()
394 (os.path.join(TEST_DATA, 'tests', 'dummy'), False, 0),
395 (os.path.join(TEST_DATA, 'tests', 'dummy'), True, 10),
413 with open(os.path.join(out_path, 'twister.json')) as f:
425 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'device', 'group')
426 args = ['-i', '--outdir', out_path, '-T', path] + \
438 with open(os.path.join(out_path, 'twister.json')) as f:
441 expected_rel_path = os.path.relpath(os.path.join(path, 'dummy.device.group'), ZEPHYR_BASE)