aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/distrib/csharp/run_distrib_test_dotnetcli.sh
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2018-05-18 16:08:54 -0700
committerGravatar GitHub <noreply@github.com>2018-05-18 16:08:54 -0700
commitf2979e32185804ee707ab18da844d74496aeb479 (patch)
tree6b6654b973b951dcf030d0b11d1fa44a2a9d8770 /test/distrib/csharp/run_distrib_test_dotnetcli.sh
parentbec3b5ada2c5e5d782dff0b7b5018df646b65cb0 (diff)
parent47cf9906c75cf82f6e70eb7b5814df26d9fa6f36 (diff)
Merge pull request #15388 from jtattermusch/backport_15331
update C# distribtests (backport to v1.12.x)
Diffstat (limited to 'test/distrib/csharp/run_distrib_test_dotnetcli.sh')
-rwxr-xr-xtest/distrib/csharp/run_distrib_test_dotnetcli.sh17
1 files changed, 10 insertions, 7 deletions
diff --git a/test/distrib/csharp/run_distrib_test_dotnetcli.sh b/test/distrib/csharp/run_distrib_test_dotnetcli.sh
index 9e31945dfb..86c2d5231e 100755
--- a/test/distrib/csharp/run_distrib_test_dotnetcli.sh
+++ b/test/distrib/csharp/run_distrib_test_dotnetcli.sh
@@ -25,19 +25,22 @@ cd DistribTest
# TODO(jtattermusch): make sure we don't pollute the global nuget cache with
# the nugets being tested.
-dotnet restore
+dotnet restore DistribTestDotNet.csproj
-dotnet build
-dotnet publish
+dotnet build DistribTestDotNet.csproj
+dotnet publish -f netcoreapp1.0 DistribTestDotNet.csproj
+dotnet publish -f net45 DistribTestDotNet.csproj
+
+ls -R bin
# .NET 4.5 target after dotnet build
-mono bin/Debug/net45/*-x64/DistribTest.exe
+mono bin/Debug/net45/publish/DistribTestDotNet.exe
# .NET 4.5 target after dotnet publish
-mono bin/Debug/net45/*-x64/publish/DistribTest.exe
+mono bin/Debug/net45/publish/DistribTestDotNet.exe
# .NET Core target after dotnet build
-dotnet exec bin/Debug/netcoreapp1.0/DistribTest.dll
+dotnet exec bin/Debug/netcoreapp1.0/DistribTestDotNet.dll
# .NET Core target after dotnet publish
-dotnet exec bin/Debug/netcoreapp1.0/publish/DistribTest.dll
+dotnet exec bin/Debug/netcoreapp1.0/publish/DistribTestDotNet.dll