aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-04-09 16:57:55 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-04-11 11:09:44 -0700
commitbd58f6f76bedbf3ef4e875ab5fcebbcea71412de (patch)
tree726a20ca9cf8d5285c3ab84f764952733ee8757b /tools/run_tests
parent67306daaa20fc1fda9c91ffc4573d69749ca80c1 (diff)
fix C# coverage on windows
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-xtools/run_tests/run_tests.py4
1 files 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