-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Add test targets to build script #34385
Conversation
9cf5fbb to
59bd0c5
Compare
safern
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can I build the test vertical without building the source vertical and without running the tests with this change?
build.cmd -test /p:BuildTests=true /p:DisableTests=true?
|
|
Also the root scripts should never have been named |
59bd0c5 to
16c5532
Compare
773cdbe to
8235be9
Compare
|
@stephentoub blocked until Jenkins is removed. |
When will that happen? Can we close this until then? |
|
As soon as https://github.com/dotnet/corefx/issues/35121 is fixed, at least that's the current plan. I would prefer to keep this PR open for visibility until then. I expect this to go in this month. |
da91ad4 to
649f5b0
Compare
473ad04 to
b174d93
Compare
65040d3 to
0d20d0c
Compare
|
Nice! |
|
After this change without How should we run it now? blocks green CoreCLR testing, cc @jashook , @dotnet/jit-contrib |
|
For windows: You can still use |
|
Thank you @safern, why was it done differently for Unix and Windows? How do you suggest to write cross-platform scripts that uses your scripts? |
Introduced by dotnet/corefx#34385.
|
The reason why it was done differently in windows and unix is because we followed arcade convention which is that one... @jkotas opened: dotnet/arcade#2075 to track that difference. I guess you got away with it by using the short form, -c and leave OSGroup and ArchGroup as msbuild parameters. |
Thank you.
Yes, I think it will work as a temporary solution until we get rid of the old system that has to build tests in our repo. |
* Fix CoreFX build break. Introduced by dotnet/corefx#34385.
* Add test targets to build script * Remove few manual copy targets in projects * Remove PlatformAbstractions dependency * Update ArchiveTests type to enum * Set warnaserror false on arm/arm64 * Update docs * Darc update from build '20190221.4' Commit migrated from dotnet/corefx@a619534
* Fix CoreFX build break. Introduced by dotnet/corefx#34385. Commit migrated from dotnet/coreclr@82c4573
Add common arcade test targets and align arguments to the arcade ones.
Requires dotnet/arcade#1704 (currently myget feed for CI)
Fixes https://github.com/dotnet/corefx/issues/15814
Fixes https://github.com/dotnet/corefx/issues/35084
Fixes https://github.com/dotnet/corefx/issues/34074
Fixes https://github.com/dotnet/corefx/issues/28620
Changes (in order of significance)
.\build -restore -build -buildtests -test-test,-integrationTestand-performanceTest.4.1. Fix a few targets in projects which hacked renaming or moving assets in the test path.
4.2. Remove the Microsoft.DotNet.PlatformAbstractions dependency which caused warnings in netfx and allconfigurations leg + a circular dependency.
TestProjectFilterswitch (values: Tests, IntegrationTests, PerformanceTests) and change theArchiveTestsvalue to additionally allow filtering which projects should be archived (values: Tests, IntegrationTests, PerformanceTests, Packages, All).Command Line Experience
Windows command line:
Unix command line: