You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/09/13 13:02:10 UTC
[GitHub] [tvm] leandron commented on a change in pull request #8739: [microTVM][RVM] Always destroy the VM if all tests pass
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: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org