Skip to content
Snippets Groups Projects
Commit 3d87cb83 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Test] minor fix for end2end extw test if dir exists

parent 6c49cda9
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,8 @@ def test_end2end_ext_weights_build():
assert os.path.isfile(output_dir + "/deploy/bitfile/finn-accel.hwh")
assert os.path.isfile(output_dir + "/deploy/driver/driver.py")
assert os.path.isfile(output_dir + "/deploy/driver/runtime_weights/idma0.npy")
if os.path.isdir(get_checkpoint_name("build")):
shutil.rmtree(get_checkpoint_name("build"))
shutil.copytree(output_dir + "/deploy", get_checkpoint_name("build"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment