-
Notifications
You must be signed in to change notification settings - Fork 83
modifed y.sh to allow for running cargo tests. #669
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
antoyo
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.
Good job!
Could you please update the doc and the CI to use this new command instead of cargo test?
antoyo
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 like how you add a lot of comments.
Thanks!
antoyo
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.
This looks good!
c80276e to
9da753c
Compare
8a8bf33 to
32fa765
Compare
|
Should be good to merge now. |
antoyo
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.
A small nitpick:
|
Should be good for review now. |
antoyo
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.
Very nice work.
One last thing that I missed.
|
Should be OK to merge now. I split the enviroment variable changes into a separate commit, just in case it turns out something still needed that. |
|
Thanks a lot! |
Added a new option to
./y.sh test:./y.sh test --cargo-tests.When this option is selected,
y.shwill build & test minicore(it is a dependency). After that, it will simply callcargo testwith the selected environment flags.For now
./y.sh test --cargo-testsignoresRUSTFLAGS.Normally,
RUSTFLAGScontain the-Zcodegen-backendoption, which would makecg_gccrebuild itself. This is undesirable, and ignoringRUSTFLAGSaltogether was simply the easiest option.In the future, we maybe could filter out
-Zcodegen-backend, and keep the rest of the flags intact.