Skip to content

Only warnAsError in correctness#44261

Merged
RikkiGibson merged 2 commits intodotnet:masterfrom
RikkiGibson:warnaserror-correctness
Jun 16, 2020
Merged

Only warnAsError in correctness#44261
RikkiGibson merged 2 commits intodotnet:masterfrom
RikkiGibson:warnaserror-correctness

Conversation

@RikkiGibson
Copy link
Member

@RikkiGibson RikkiGibson commented May 14, 2020

Fixes #39278

This makes it so when we have build warnings (such as nullable warnings) we can still get test results. We just fail the correctness run. See #44141 for an example run.

@RikkiGibson RikkiGibson requested a review from a team as a code owner May 14, 2020 17:51
@sharwell
Copy link
Contributor

💭 I worry a bit about this because the correctness leg doesn't build all configurations.

@RikkiGibson
Copy link
Member Author

Perhaps there is some configuration that would let us go through all the steps of the build while ultimately failing the leg/giving a distinct "something's probably wrong" status if warnings were produced in the build.

@RikkiGibson RikkiGibson merged commit c7f09a2 into dotnet:master Jun 16, 2020
@ghost ghost added this to the Next milestone Jun 16, 2020
@RikkiGibson RikkiGibson deleted the warnaserror-correctness branch June 16, 2020 21:01
@dibarbet dibarbet modified the milestones: Next, 16.7.P4 Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable /warnAsError in non-Correctness runs

4 participants