Skip to content

Fix uefi-macros trybuild test #1183

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

Merged
merged 1 commit into from
May 28, 2024
Merged

Fix uefi-macros trybuild test #1183

merged 1 commit into from
May 28, 2024

Conversation

nicholasbishop
Copy link
Member

@nicholasbishop nicholasbishop commented May 28, 2024

A difference in behavior between CI and local testing was observed for the entry_bad_return_type test. This is due to the way trybuild sets the --verbose flag, which is overwritten if RUSTFLAGS is set (as it always is for our CI jobs). Add code in xtask to ensure that --verbose still gets set correctly.

Also update entry_bad_return_type.stderr to match the expected current output.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

@nicholasbishop nicholasbishop marked this pull request as draft May 28, 2024 01:13
@nicholasbishop nicholasbishop force-pushed the bishop-update-ui-test branch 8 times, most recently from 58cbaa4 to 5333d54 Compare May 28, 2024 02:56
A difference in behavior between CI and local testing was observed for the
entry_bad_return_type test. This is due to the way trybuild sets the `--verbose`
flag, which is overwritten if RUSTFLAGS is set (as it always is for our CI
jobs). Add code in xtask to ensure that `--verbose` still gets set correctly.

Also update entry_bad_return_type.stderr to match the expected current output.
@nicholasbishop nicholasbishop force-pushed the bishop-update-ui-test branch from 5333d54 to 2056a0a Compare May 28, 2024 03:17
@nicholasbishop nicholasbishop changed the title wip: Figuring out what's going on with the failing UI test Fix uefi-macros trybuild test May 28, 2024
@nicholasbishop nicholasbishop marked this pull request as ready for review May 28, 2024 03:18
@phip1611
Copy link
Member

thanks for the fix!

@phip1611 phip1611 added this pull request to the merge queue May 28, 2024
Merged via the queue into main with commit 0119674 May 28, 2024
15 checks passed
@phip1611 phip1611 deleted the bishop-update-ui-test branch May 28, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants