diff options
author | stephentoub <stoub@microsoft.com> | 2015-11-08 23:26:42 +0300 |
---|---|---|
committer | stephentoub <stoub@microsoft.com> | 2015-11-08 23:26:42 +0300 |
commit | 871beea92caf8c8b4d04d88fbffd0261286ada28 (patch) | |
tree | f09bd5972e1a5092a4c2761aac6cbef85316358b /run-test.sh | |
parent | 8828736ce190ea6f7f7743f9e5a1bd951e0d48e8 (diff) |
Disable running Benchmarks as part of unit tests on Unix
https://github.com/dotnet/buildtools/pull/332 disabled running benchmarks as part of unit tests, but only on Windows. They're still running on Linux and OS X, and are causing builds to timeout, e.g. the Process tests are currently taking over 5 minutes:
```
11:03:02 System.Diagnostics.Process.Tests Total: 77, Errors: 0, Failed: 0, Skipped: 0, Time: 318.916s
```
Diffstat (limited to 'run-test.sh')
-rwxr-xr-x | run-test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run-test.sh b/run-test.sh index 35096da1d1..87cf5e9c01 100755 --- a/run-test.sh +++ b/run-test.sh @@ -179,9 +179,9 @@ runtest() echo echo "Running tests in $dirName" - echo "./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing -notrait category=OuterLoop -notrait category=$xunitOSCategory" + echo "./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing -notrait category=OuterLoop -notrait category=$xunitOSCategory" -notrait Benchmark=true echo - ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing -notrait category=OuterLoop -notrait category=$xunitOSCategory + ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing -notrait category=OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true exitCode=$? if [ $exitCode -ne 0 ] |