diff options
author | Stephen Toub <stoub@microsoft.com> | 2016-04-06 16:21:15 +0300 |
---|---|---|
committer | Stephen Toub <stoub@microsoft.com> | 2016-04-06 16:21:15 +0300 |
commit | 0cdc8e39f80a749bfa25eb559ab014be4f7ec557 (patch) | |
tree | 99eafca2bfb8dad3eab62b864f053a6a63d425b0 /Documentation/building | |
parent | 8e44ba7ef0c1b0a2cc5d5ee1ceeff760778ad3f7 (diff) | |
parent | 79ebb78c8a3986cb4d3898b8681d406d4176347d (diff) |
Merge pull request #7523 from ellismg/run-tests
Remove "UnsupportedPlatforms" metadata
Diffstat (limited to 'Documentation/building')
-rw-r--r-- | Documentation/building/cross-platform-testing.md | 6 | ||||
-rw-r--r-- | Documentation/building/windows-instructions.md | 7 |
2 files changed, 3 insertions, 10 deletions
diff --git a/Documentation/building/cross-platform-testing.md b/Documentation/building/cross-platform-testing.md index bee8375f5e..ae30b58aaa 100644 --- a/Documentation/building/cross-platform-testing.md +++ b/Documentation/building/cross-platform-testing.md @@ -50,14 +50,12 @@ If needed, copy mscorlib: # rsync -v -r ~/mnt/matell3/d/git/coreclr/bin/Product/ ~/git/coreclr/bin/Product/ ``` -Then, run the tests. run-test.sh defaults to wanting to use Windows tests (for -historical reasons), so we need to pass an explict path to the tests, as well as -a path to the location of CoreCLR and mscorlib.dll. +Then, run the tests. We need to pass an explict path to the location of CoreCLR +and mscorlib.dll. ``` # ./run-test.sh --coreclr-bins ~/git/coreclr/bin/Product/Linux.x64.Release \ --mscorlib-bins ~/git/coreclr/bin/Product/Linux.x64.Release \ ---corefx-tests ~/git/corefx/bin/tests/Linux.AnyCPU.Debug ``` run-test.sh should now invoke all the managed tests. diff --git a/Documentation/building/windows-instructions.md b/Documentation/building/windows-instructions.md index 623b293a1c..9292c92760 100644 --- a/Documentation/building/windows-instructions.md +++ b/Documentation/building/windows-instructions.md @@ -125,12 +125,7 @@ xunit.console.netcore.exe *.dll -notrait category=nonosxtests -trait category=Ou xunit.console.netcore.exe *.dll -notrait category=nonlinuxtests -trait category=failing ``` -All the required dlls to run a test project can be found in `bin\tests\{Flavor}\{Project}.Tests\aspnetcore50\` which should be created when the test project is built. - -To skip an entire test project on a specific platform, for example, to skip running registry tests on Linux and Mac OS X, use the `<UnsupportedPlatforms>` MSBuild property in the csproj. Valid platform values are -```xml -<UnsupportedPlatforms>Windows_NT;Linux;OSX</UnsupportedPlatforms> -``` +All the required dlls to run a test project can be found in `bin\tests\{Configration}\{Project}.Tests\dnxcore50\` which should be created when the test project is built. ### Running tests from Visual Studio |