Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: third_party/grpc/tools/run_tests/run_csharp.bat

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 @rem Runs C# tests for given assembly from command line. The Grpc.sln solution n eeds to be built before running the tests.
2
3 setlocal
4
5 @rem enter src/csharp directory
6 cd /d %~dp0\..\..\src\csharp
7
8 if not "%CONFIG%" == "gcov" (
9 packages\NUnit.Runners.2.6.4\tools\nunit-console-x86.exe %* || goto :error
10 ) else (
11 @rem Run all tests with code coverage
12
13 packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -target:"packages\NUnit .Runners.2.6.4\tools\nunit-console-x86.exe" -targetdir:"." -targetargs:"%*" -fil ter:"+[Grpc.Core]*" -register:user -output:coverage_results.xml || goto :error
14
15 packages\ReportGenerator.2.3.2.0\tools\ReportGenerator.exe -reports:"coverage_ results.xml" -targetdir:"..\..\reports\csharp_coverage" -reporttypes:"Html;TextS ummary" || goto :error
16
17 @rem Generate the index.html file
18 echo ^<html^>^<head^>^</head^>^<body^>^<a href='csharp_coverage/index.htm'^>cs harp coverage^</a^>^<br/^>^</body^>^</html^> >..\..\reports\index.html
19 )
20
21 endlocal
22
23 goto :EOF
24
25 :error
26 echo Failed!
27 exit /b %errorlevel%
OLDNEW
« no previous file with comments | « third_party/grpc/tools/run_tests/report_utils.py ('k') | third_party/grpc/tools/run_tests/run_csharp.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698