Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@BruceForstall
Copy link

Tests:

Interop\PInvoke\BestFitMapping\Char\AFT_PFT\AFT_PFT\AFT_PFT.cmd
Interop\PInvoke\BestFitMapping\Char\Assembly_False_False\Assembly_False_False\Assembly_False_False.cmd
Interop\PInvoke\BestFitMapping\LPStr\AFT_PFT\AFT_PFT\AFT_PFT.cmd
Interop\PInvoke\BestFitMapping\LPStr\Assembly_False_False\Assembly_False_False\Assembly_False_False.cmd

Tracked by https://github.com/dotnet/coreclr/issues/22436

Tests:
```
Interop\PInvoke\BestFitMapping\Char\AFT_PFT\AFT_PFT\AFT_PFT.cmd
Interop\PInvoke\BestFitMapping\Char\Assembly_False_False\Assembly_False_False\Assembly_False_False.cmd
Interop\PInvoke\BestFitMapping\LPStr\AFT_PFT\AFT_PFT\AFT_PFT.cmd
Interop\PInvoke\BestFitMapping\LPStr\Assembly_False_False\Assembly_False_False\Assembly_False_False.cmd
```

Tracked by https://github.com/dotnet/coreclr/issues/22436
@BruceForstall
Copy link
Author

@dotnet-bot test Windows_NT x64 Checked jitstress2
@dotnet-bot test Windows_NT x86 Checked jitstress2
@dotnet-bot test Windows_NT x64 Checked jitstress2_jitstressregs1
@dotnet-bot test Windows_NT x86 Checked jitstress2_jitstressregs1

@BruceForstall
Copy link
Author

@dotnet/jit-contrib

@BruceForstall BruceForstall mentioned this pull request Feb 6, 2019
<ExcludeList Include="$(XunitTestBinBase)/baseservices/varargs/varargsupport_r/*">
<Issue>Varargs supported on this platform</Issue>
</ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)/Interop/PInvoke/BestFitMapping/Char/AFT_PFT/AFT_PFT/*">
Copy link
Member

Choose a reason for hiding this comment

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

Is this disabling these tests completely? Do we have a way to disable tests for JIT stress only?

Copy link
Author

Choose a reason for hiding this comment

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

Yes, it disables them completely (for the specific conditions, so Windows x86, Windows x64).

We can disable for ALL platforms for JIT stress by changing their project files to include <JitOptimizationSensitive>true</JitOptimizationSensitive>, but that is better used for tests that are really incompatible, not bugs that are hopefully fixed quickly. Plus it means changing more files.

Copy link

Choose a reason for hiding this comment

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

I believe we can set true for a specific arch/os by adding a condition. It is ugly, but possible.

Copy link

@jashook jashook Feb 6, 2019

Choose a reason for hiding this comment

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

Going forward, I believe it would be better to add the following to the test's csproj:

<!-- GH Issue 22436 -->
<JitOptimizationSensitive Condition="'$(OSGroup)' == 'Windows_NT' And '$(BuildArch)' == 'x86'">true</JitOptimizationSensitive>

We have the knob, it seems correct to use it.

@AaronRobinsonMSFT
Copy link
Member

cc @jkoritzinsky

@AaronRobinsonMSFT AaronRobinsonMSFT added this to the Future milestone Feb 6, 2019
@AaronRobinsonMSFT AaronRobinsonMSFT added the disabled-test The test is disabled in source code against the issue label Feb 6, 2019
@BruceForstall BruceForstall merged commit 9e9049a into dotnet:master Feb 6, 2019
@BruceForstall BruceForstall deleted the DisableFailingXarchTests branch February 6, 2019 07:26
@briansull
Copy link

PR #22731 re-enables these tests

@briansull
Copy link

These tests have been re-enabled

picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…lingXarchTests

Disable failing BestFitMapping tests

Commit migrated from dotnet/coreclr@9e9049a
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Interop disabled-test The test is disabled in source code against the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants