Skip to content
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

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

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

ivanpovazan
Copy link
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
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
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
38 of 47 checks passed
@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