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

Conversation

MichalStrehovsky
Copy link
Member

* The diamondshape test should work now that dotnet#15979 and dotnet#15978 are merged.
* Create debug and retail version of diamondshape and sharedgenerics tests so that we have retail coverage. These tests hit issues around devirtualization (that is only active when RyuJIT is optimizing).
@MichalStrehovsky
Copy link
Member Author

@AndyAyersMS PTAL

@AndyAyersMS
Copy link
Member

Do you want to fix up the other tests under DefaultInterfaceMethods while you're at it? Looks like they were all set up the same way.

Can you also add the standard header comment to the .cs and .il files?

@MichalStrehovsky
Copy link
Member Author

Do you want to fix up the other tests under DefaultInterfaceMethods while you're at it? Looks like they were all set up the same way.

Do you mean if I want to add a _r and _d variants of the ilproj? These are primarily type system tests and I don't know if the rest exercises anything interesting from the codegen perspective. We do run them with optimizations enabled in some runs though because the fact they're broken with optimizations was caught in automated runs. I'm not a fan of blindly duplicating the number of tests we run, but if you think some of them are interesting for codegen, I can add those.

Can you also add the standard header comment to the .cs and .il files?

Done

@AndyAyersMS
Copy link
Member

You don't need to add two (or more) flavors for each of those other tests -- just fix it so the one flavor will always lead to either be debug or optimized jit codegen. Given the issues we've seen it might as well be optimized.

@MichalStrehovsky
Copy link
Member Author

You don't need to add two (or more) flavors for each of those other tests -- just fix it so the one flavor will always lead to either be debug or optimized jit codegen. Given the issues we've seen it might as well be optimized.

If there's not codegen-related reason why we would want to force debug/optimized for these, I would prefer to stay consistent with the other tests under loader/classloader that don't set DebugType either. It appears different rules apply to different parts of the test tree.

@dotnet-bot test CentOS7.1 x64 Release Innerloop Build and Test

@MichalStrehovsky MichalStrehovsky merged commit 7afffa2 into dotnet:master Jan 30, 2018
@MichalStrehovsky MichalStrehovsky deleted the testFixes branch January 30, 2018 12:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants