From bd58f6f76bedbf3ef4e875ab5fcebbcea71412de Mon Sep 17 00:00:00 2001
From: Jan Tattermusch <jtattermusch@google.com>
Date: Sat, 9 Apr 2016 16:57:55 -0700
Subject: [PATCH] fix C# coverage on windows

---
 tools/run_tests/run_tests.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index 5224497703..d1beaa3e50 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -512,13 +512,13 @@ class CSharpLanguage(object):
         # for test coverage, run all tests from the same assembly at once
         # on Windows, things get more complicated as we need to run the code coverage tool
         if self.platform == 'windows':
-          cmdline = ['packages\OpenCover.4.6.519\tools\OpenCover.Console.exe',
+          cmdline = ['src\\csharp\\packages\\OpenCover.4.6.519\\tools\\OpenCover.Console.exe',
                      '-target:%s' % assembly_file,
                      '-targetdir:src\\csharp',
                      '-targetargs:%s' % ' '.join(nunit_args),
                      '-filter:+[Grpc.Core]*',
                      '-register:user',
-                     '-output:coverage_csharp_%s.xml' % assembly]
+                     '-output:src\\csharp\\coverage_csharp_%s.xml' % assembly]
         else:
           cmdline = runtime_cmd + [assembly_file] + nunit_args
 
-- 
GitLab