-
Notifications
You must be signed in to change notification settings - Fork 80
Add test of NullVm. #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: John Plevyak <[email protected]>
Signed-off-by: John Plevyak <[email protected]>
yxue
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am wondering if we can add some CI task for the repo.
wasm_vm_test.cc
Outdated
| TestNullVmPlugin *test_null_vm_plugin_ = nullptr; | ||
| RegisterNullVmPluginFactory register_test_null_vm_plugin("test_null_vm_plugin", []() { | ||
| auto plugin = std::make_unique<TestNullVmPlugin>(); | ||
| test_null_vm_plugin_ = plugin.get(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to capture the variable in the lambda.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't because it is a global. Do you think we should for style reasons?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's OK. Nit: renaming the variable to make it look like a global variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Sorry, I didn't notice the |
…to add-test Signed-off-by: John Plevyak <[email protected]>
Signed-off-by: John Plevyak <[email protected]>
Signed-off-by: John Plevyak <[email protected]>
Signed-off-by: John Plevyak <[email protected]>
Signed-off-by: John Plevyak <[email protected]>
Signed-off-by: John Plevyak <[email protected]>
change sdk repo
Signed-off-by: John Plevyak [email protected]