https://github.com/dotnet/runtime/blob/master/docs/workflow/testing/libraries/testing.md says:
The following builds and runs all tests in release configuration:
build.cmd/sh -subset libs -test -c Release
However when I do build -subset libs -runtimeConfiguration Release -test it doesn't appear to build tests neither run the tests; From what I see it seems to build the libraries part, and ends.
In addition, when I specify -testnobuild it doesn't seem to respect it as it does actually build the libs component.
Tagging subscribers to this area: @safern, @viktorhofer
Notify danmosemsft if you want to be subscribed.
The subset is wrong in the docs. It should be libs.tests.
@ViktorHofer btw, is it possible to build everything from scratch and run tests at once?, e.g.
build -subset Mono+Libs+Libs.Tests -test
or it should be
build -subset Mono+Libs
build -subset Libs.Tests -test
?
@ViktorHofer btw, is it possible to build everything from scratch and run tests at once?, e.g.
I think build.cmd mono+libs+libs.tests -test should work fine as long as mono doesn't have a test subset.
I think build.cmd mono+libs+libs.tests -test should work fine as long as mono doesn't have a test subset.
Also, do we need to pass /p:RuntimeFlavor=mono for that?
No, that's auto-detected: https://github.com/dotnet/runtime/blob/master/eng/Subsets.props#L52.
Good to know 馃槃 thanks!
Most helpful comment
PR: https://github.com/dotnet/runtime/pull/36286