diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2015-12-03 08:35:41 -0800 |
---|---|---|
committer | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2015-12-03 08:35:41 -0800 |
commit | 8b5122e7794abff85e7cfdf3c7b0e0581fbac0ab (patch) | |
tree | 8491ce87bf999f47c2ab2c223b04e44981181047 /tools/run_tests | |
parent | 07db0af4e87a044a2ac072aa1eac0805ea4bd053 (diff) | |
parent | be6f0def8f1824d95cc153d4660af12f5940c43e (diff) |
Merge pull request #4265 from jtattermusch/display_csharp_coverage_report
Add index.html file for C# coverage reports
Diffstat (limited to 'tools/run_tests')
-rw-r--r-- | tools/run_tests/run_csharp.bat | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/run_tests/run_csharp.bat b/tools/run_tests/run_csharp.bat index 0e33e5295a..0aa32ea596 100644 --- a/tools/run_tests/run_csharp.bat +++ b/tools/run_tests/run_csharp.bat @@ -18,6 +18,9 @@ if not "%CONFIG%" == "gcov" ( packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -target:"packages\NUnit.Runners.2.6.4\tools\nunit-console-x86.exe" -targetdir:"." -targetargs:"/domain:None -labels Grpc.Core.Tests/bin/Debug/Grpc.Core.Tests.dll Grpc.IntegrationTesting/bin/Debug/Grpc.IntegrationTesting.dll Grpc.Examples.Tests/bin/Debug/Grpc.Examples.Tests.dll Grpc.HealthCheck.Tests/bin/Debug/Grpc.HealthCheck.Tests.dll" -filter:"+[Grpc.Core]*" -register:user -output:coverage_results.xml || goto :error packages\ReportGenerator.2.3.2.0\tools\ReportGenerator.exe -reports:"coverage_results.xml" -targetdir:"..\..\reports\csharp_coverage" -reporttypes:"Html;TextSummary" || goto :error + + @rem Generate the index.html file + echo ^<html^>^<head^>^</head^>^<body^>^<a href='csharp_coverage/index.htm'^>csharp coverage^</a^>^<br/^>^</body^>^</html^> >..\..\reports\index.html ) endlocal |