Skip to content

Port type system tests from CoreRT repo - #38128

Merged
nattress merged 4 commits into
dotnet:masterfrom
nattress:PortTypeSystemTests
Jun 23, 2020
Merged

Port type system tests from CoreRT repo#38128
nattress merged 4 commits into
dotnet:masterfrom
nattress:PortTypeSystemTests

Conversation

@nattress

@nattress nattress commented Jun 18, 2020

Copy link
Copy Markdown
Contributor

Port the managed type system unit tests and wire them up to build.cmd -test so they run if the clr.tools subset is included in compilation. We're missing USG support so those tests are disabled. Similarly, the tests for interfaces on arrays don't work in this repo since we never ported the Array<T> weirdo functionality.

The first commit is a simple xcopy, and subsequent commits make the tests work in this repo. Currently these are not enabled in CI and I could use some advice there since as I understand the plan is to add Pri 0 tests to build -test for the coreclr partition in the future. If we just have fast running unit tests then I'd be okay with these running as part of the product build when the coreclr partition has changes. Or we could build / run them as part of the test build.

Implements issue #200

cc @dotnet/crossgen-contrib

nattress added 2 commits June 18, 2020 16:07
`build.cmd -test -s clr.tools -rc checked -a x64` builds the product and unit tests, and then runs the unit tests.

@jkoritzinsky jkoritzinsky left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just one question from me. Other than that, if this works to run the tests locally then it looks good to me.

Comment thread eng/Subsets.props Outdated
Adds back another 5 passing tests

@MichalStrehovsky MichalStrehovsky left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good otherwise, thank you!

@nattress
nattress merged commit 3052acc into dotnet:master Jun 23, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
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.

5 participants