-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Compiler-v2] Fix test plan in move-unit-test to use compiler v2 #15388
base: main
Are you sure you want to change the base?
Conversation
⏱️ 33m total CI duration on this PR
|
80986e1
to
4f904cb
Compare
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.
Thanks for the fix, let's get this in soon please :)
│ │ | ||
│ 36 │ fun test_doesnt_exist() { | ||
│ │ ----------------- In this function in 0x1::M | ||
│ · | ||
│ 47 │ abort 0 | ||
│ │ ^^^^^^^ Test was not expected to error, but it aborted with code 0 originating in the module 0000000000000000000000000000000000000000000000000000000000000001::M rooted here | ||
│ 43 │ i = i + 1; |
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 guessing this is because of peephole as well, if we can get this PR merged in, I can rebase and further validate the peephole locations fix.
Description
This PR closes #15385 by explicitly using test plan builder v2 in
move-unit-test
whenMOVE_COMPILER_V2
is set to true.How Has This Been Tested?
Existing test cases in
move-unit-test
, see updated baseline files.Key Areas to Review
Whether flags are correctly set when running tests using Compiler v2.
Type of Change
Which Components or Systems Does This Change Impact?
Checklist