leandron commented on a change in pull request #8739:
URL: https://github.com/apache/tvm/pull/8739#discussion_r707298865



##########
File path: apps/microtvm/reference-vm/base-box-tool.py
##########
@@ -363,13 +363,15 @@ def test_command(args):
         microtvm_test_platform["microtvm_platform"] = args.microtvm_platform
 
     providers = args.provider
-    provider_passed = {p: False for p in providers}
 
     release_test_dir = os.path.join(THIS_DIR, "release-test")
 
-    if args.skip_build:
-        assert len(providers) == 1, "--skip-build was given, but >1 provider 
specified"
+    if args.skip_build or args.skip_destroy:
+        assert (
+            len(providers) == 1
+        ), "--skip-build and/or --skip_destroy was given, but >1 provider 
specified"

Review comment:
       ```suggestion
           ), "--skip-build and/or --skip-destroy was given, but >1 provider 
specified"
   ```




-- 
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