Skip to content

Disable generator tests on big-endian#105485

Merged
steveharter merged 1 commit intodotnet:mainfrom
steveharter:DisableTest
Jul 30, 2024
Merged

Disable generator tests on big-endian#105485
steveharter merged 1 commit intodotnet:mainfrom
steveharter:DisableTest

Conversation

@steveharter
Copy link
Contributor

Temporary disables tests until the Roslyn semantics can be determined. See #105311.

@steveharter steveharter added this to the 9.0.0 milestone Jul 25, 2024
@steveharter steveharter requested a review from tarekgh July 25, 2024 15:49
@steveharter steveharter self-assigned this Jul 25, 2024
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-extensions-configuration
See info in area-owners.md if you want to be subscribed.

public partial class ConfigurationBindingGeneratorTests : ConfigurationBinderTestsBase
{
// The source hash applied to the [Interceptable] attribute treats chars as bytes which fails baseline comparisons on big-endian.
public static bool IsBigEndian => !BitConverter.IsLittleEndian;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put this on PlatformDetection instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently this is considered a temporary fix pending Roslyn.

@steveharter steveharter merged commit 39dd2e1 into dotnet:main Jul 30, 2024
@steveharter steveharter deleted the DisableTest branch July 30, 2024 17:06
@github-actions github-actions bot locked and limited conversation to collaborators Aug 30, 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.

3 participants