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

Port type system tests from CoreRT repo #38128

Merged
merged 4 commits into from
Jun 23, 2020

Conversation

nattress
Copy link
Contributor

@nattress nattress commented Jun 18, 2020

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

`build.cmd -test -s clr.tools -rc checked -a x64` builds the product and unit tests, and then runs the unit tests.
Copy link
Member

@jkoritzinsky jkoritzinsky left a comment

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.

eng/Subsets.props Outdated Show resolved Hide resolved
Adds back another 5 passing tests
Copy link
Member

@MichalStrehovsky MichalStrehovsky left a comment

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