adjust run_*tests.py

This commit is contained in:
Jan Tattermusch 2018-11-21 16:24:01 +01:00
parent 3291154db0
commit c586eea27e
3 changed files with 4 additions and 4 deletions

View File

@ -18,6 +18,6 @@ set -ex
cd "$(dirname "$0")/../../.."
# needed to correctly locate testca
cd src/csharp/Grpc.IntegrationTesting.QpsWorker/bin/Release/netcoreapp1.1
cd src/csharp/Grpc.IntegrationTesting.QpsWorker/bin/Release/netcoreapp2.1
dotnet exec Grpc.IntegrationTesting.QpsWorker.dll "$@"

View File

@ -147,8 +147,8 @@ class CSharpLanguage:
class CSharpCoreCLRLanguage:
def __init__(self):
self.client_cwd = 'src/csharp/Grpc.IntegrationTesting.Client/bin/Debug/netcoreapp1.1'
self.server_cwd = 'src/csharp/Grpc.IntegrationTesting.Server/bin/Debug/netcoreapp1.1'
self.client_cwd = 'src/csharp/Grpc.IntegrationTesting.Client/bin/Debug/netcoreapp2.1'
self.server_cwd = 'src/csharp/Grpc.IntegrationTesting.Server/bin/Debug/netcoreapp2.1'
self.safename = str(self)
def client_cmd(self, args):

View File

@ -946,7 +946,7 @@ class CSharpLanguage(object):
assembly_extension = '.exe'
if self.args.compiler == 'coreclr':
assembly_subdir += '/netcoreapp1.1'
assembly_subdir += '/netcoreapp2.1'
runtime_cmd = ['dotnet', 'exec']
assembly_extension = '.dll'
else: