Skip to content

[iOS][tests] NativeAOT: Do not treat warnings as errors in integration tests#20471

Merged
rmarinho merged 2 commits intodotnet:mainfrom
ivanpovazan:naot-tests-disable-warn-as-error
Feb 12, 2024
Merged

[iOS][tests] NativeAOT: Do not treat warnings as errors in integration tests#20471
rmarinho merged 2 commits intodotnet:mainfrom
ivanpovazan:naot-tests-disable-warn-as-error

Conversation

@ivanpovazan
Copy link
Copy Markdown
Member

Description

In .net8.0 NativeAOT compiler did not treat warnings as errors.
This got fixed in .net9.0 with: dotnet/runtime#96567

As there is a possibility that such fix will get backported, I am adding the escape mechanism to avoid our NativeAOT testing to start failing on the maui main branch. Set properties should not change the behaviour of the test.

Additionally, we have encountered exactly these failures when working on maui net9.0 branch because we started pulling in the mentioned fix:

/cc: @simonrozsival @rmarinho

@ivanpovazan ivanpovazan requested a review from a team as a code owner February 9, 2024 16:34
@rmarinho
Copy link
Copy Markdown
Member

/rebase

@github-actions github-actions Bot force-pushed the naot-tests-disable-warn-as-error branch from 9e66f38 to b993677 Compare February 12, 2024 01:59
@rmarinho
Copy link
Copy Markdown
Member

/rebase

@github-actions github-actions Bot force-pushed the naot-tests-disable-warn-as-error branch from b993677 to 6531dba Compare February 12, 2024 12:46
@rmarinho rmarinho merged commit b3e50af into dotnet:main Feb 12, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants