diff options
author | Jarret Shook <jashoo@microsoft.com> | 2018-08-24 21:19:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 21:19:58 -0700 |
commit | b34f2bfee8ca2c5f5508f4d58f5b79dc616dcccc (patch) | |
tree | e099963dafdc784929e6b175281a908470ce778b /tests/src/tracing/eventsource | |
parent | 2d99e088e84a70572b5f9422092ec225d4c27a1c (diff) | |
download | coreclr-b34f2bfee8ca2c5f5508f4d58f5b79dc616dcccc.tar.gz coreclr-b34f2bfee8ca2c5f5508f4d58f5b79dc616dcccc.tar.bz2 coreclr-b34f2bfee8ca2c5f5508f4d58f5b79dc616dcccc.zip |
Use runtest.py to run tests for all platforms (#19213)
Change build-test.sh to always build the xunit wrappers. Before it would drop a token and check the existence of the token.
Unify x64 linux/OSX/Windows excludes into one file, issues.targets. Includes different locations in the file which show where to put excludes.
Remove all target specific aspects of issues.targets, all tests are excluded now via wildcard, this allows expanding to .cmd and .sh based on the built platform.
Unify path separators to forward slash(/) in issues.targets to support both platforms
Clean up issues.targets by removing long standing exclude tests, specifically tests that have been excluded due to missing features like rva_statics.
Add DisableProjectBuild to tests which have been removed from issues.targets
Conditionally add DisableProjectBuild to tests which have been marked as unsupported on unix. This is mostly a port of the unsupportedOnUnix.txt list. Instead of excluding the tests, unix will simply not build them. If tests are built on windows, they will be run but they will return pass, the test wrapper will check return instantly.
All exclusions ported to issues.targets for linux targets.
Expand runtest.py, this includes simple issues that made it past the original CR. In addition it adds more optional features to help with inner loop dev work such as: creating a repro folder under bin/repro/.. which sets up the env and calls the failing test. In addition a launch.json will now be created under bin/repro/.. which can be used to easily debug using vscode. More logging, such as printing failures, longest running tests ect.
Initial excludes ported for arm64 windows
Arm64 linux, armhf unix excludes and enables running runtest.sh for these targets.
arm64 windows and arm32 windows excludes and enables running runtest.cmd on arm64 targets
init-tools.sh changes to pull armhf and aarch64 dotnetcli
init-tools.cmd changes to pull x86 packages for dotnetcli for arm64 windows
runtest.cmd for almost all scenarios will call runtest.py
runtest.sh for almsot all scenarios will call runtest.py
Removes all logic for running tests using runtest.sh
Diffstat (limited to 'tests/src/tracing/eventsource')
-rw-r--r-- | tests/src/tracing/eventsource/eventpipeandetw/eventpipeandetw.csproj | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/src/tracing/eventsource/eventpipeandetw/eventpipeandetw.csproj b/tests/src/tracing/eventsource/eventpipeandetw/eventpipeandetw.csproj index 31c9137ca3..d8e0b99d38 100644 --- a/tests/src/tracing/eventsource/eventpipeandetw/eventpipeandetw.csproj +++ b/tests/src/tracing/eventsource/eventpipeandetw/eventpipeandetw.csproj @@ -13,6 +13,10 @@ <DefineConstants>$(DefineConstants);STATIC</DefineConstants> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> <CLRTestPriority>0</CLRTestPriority> + + <!-- Test unsupported outside of windows --> + <TestUnsupportedOutsideWindows>true</TestUnsupportedOutsideWindows> + <DisableProjectBuild Condition="'$(TargetsUnix)' == 'true'">true</DisableProjectBuild> </PropertyGroup> <!-- Default configurations to help VS understand the configurations --> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"></PropertyGroup> |