Lines Matching full:path
20 …l/tests/micropy_test/__init__.py --artifact-path=lib/lv_bindings/lvgl/tests/micropy_test/artifacts…
58 BASE_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__)))
59 TEST_PATH = os.path.join(BASE_PATH, 'micropy.py')
60 IMG_PATH = os.path.join(BASE_PATH, '../ref_imgs/binding.png')
152 os.chdir(os.path.dirname(__file__))
167 cls.send(b'cd ' + os.path.dirname(__file__).encode('utf-8') + b'\n')
323 img.save(os.path.join(ARTIFACT_PATH, f'frame.png'), 'PNG')
326 with open(os.path.join(ARTIFACT_PATH, f'frame.bin'), 'wb') as f:
358 cwd = os.path.abspath(os.getcwd())
360 ARTIFACT_PATH = os.path.join(cwd, 'artifacts')
361 MICROPYTHON_PATH = os.path.join(cwd, 'micropython')
369 '--artifact-path',
371 help='path to save artifacts to',
375 '--mpy-path',
377 help='path to micropython',
389 ARTIFACT_PATH = os.path.join(cwd, args.artifact_path)
390 MICROPYTHON_PATH = os.path.join(cwd, args.mpy_path)
393 if not os.path.exists(ARTIFACT_PATH):
394 raise RuntimeError(f'Artifact path does not exist ({ARTIFACT_PATH})')
396 if not os.path.exists(MICROPYTHON_PATH):
399 debug_log_path = os.path.join(ARTIFACT_PATH, 'debug.log')