aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_csharp.bat
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-12-02 15:27:07 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-12-02 15:27:07 -0800
commitbe6f0def8f1824d95cc153d4660af12f5940c43e (patch)
treeba953939101952e99be52b6fcee87d7172ad6e38 /tools/run_tests/run_csharp.bat
parent9fac2afdafe1355b02a355b06955b21d2a2cd004 (diff)
add index.html file for C# coverage reports
Diffstat (limited to 'tools/run_tests/run_csharp.bat')
-rw-r--r--tools/run_tests/run_csharp.bat3
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