aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_csharp.bat
blob: 17c622cc2df84baf337bd6e0715ede06d18837b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@rem Runs C# tests for given assembly from command line. The Grpc.sln solution needs to be built before running the tests.

setlocal

@rem enter this directory
cd /d %~dp0\..\..\src\csharp

packages\NUnit.Runners.2.6.4\tools\nunit-console-x86.exe -labels "%1/bin/Debug/%1.dll" || goto :error

endlocal

goto :EOF

:error
echo Failed!
exit /b %errorlevel%