areusch commented on a change in pull request #9363:
URL: https://github.com/apache/tvm/pull/9363#discussion_r789138142



##########
File path: tests/micro/stm32/test_code_emitter.py
##########
@@ -326,15 +326,7 @@ def check_network(build_dir, target_name, model_path, 
image_path):
     #
     # Export model library format
     #
-    target_dir = os.path.join(build_dir, target_name + "_gen")
-
-    if os.path.exists(target_dir):
-        print(f'Removing existing "{target_dir}" directory')
-        try:
-            shutil.rmtree(target_dir)
-        except OSError as err:
-            raise ValueError(f"emit_code.Error: {target_dir} : {err.strerror}")
-
+    target_dir = build_dir

Review comment:
       why this change?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to