-
Notifications
You must be signed in to change notification settings - Fork 111
[BOLT] Set nfc-tests once #466
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
[BOLT] Set nfc-tests once #466
Conversation
Adding an example to this:
This patch will add them once, under the NFC-mode condition. After #142410 is merged, those tests won't run. |
cdd7fc9
to
cf41ec9
Compare
b03cc23
to
9ffb74e
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 patch, Paschalis!
Could you make the change to UnifiedTreeBuilder a separate PR, please?
Or you can pass it an empty list instead of None as that's what UnifiedTreeBuilder expects in this case.
9ffb74e
to
154a315
Compare
Thanks Galina for approving #477. I now assume there are no objections on your end on this PR. |
When setting up the nfc-mode tests, avoid adding an extra pair of in-tree and out-of-tree tests that were unconditional. This was previously done with addNinjaSteps. Instead, add those later and make them conditional on llvm-bolt being modified. Since tests are now only added by BOLTBuilder: - `ninja` runs the in-tree tests to correctly build dependencies. - flunkOnFailure is set to update the build status on failures. Some nits: - the '--switch-back' flag is used (from nfc-check-setup.py). - a 'nfc-' prefix is appended to 'check-bolt-different' step - remove timing.log cleanup
154a315
to
ff25d5c
Compare
Everything before this is now merged, so I've forced-pushed and rebased to main. |
When setting up the nfc-mode tests, avoid adding an extra pair of in-tree and
out-of-tree tests that were unconditional. This was previously done with
addNinjaSteps. Instead, add those later and make them conditional on llvm-bolt
being modified.
Since tests are now only added by BOLTBuilder:
ninja
runs the in-tree tests to correctly build dependencies.Some nits: