forked from googleapis/google-api-dotnet-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_tests.bat
More file actions
29 lines (22 loc) · 775 Bytes
/
Copy pathrun_tests.bat
File metadata and controls
29 lines (22 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
rem Runs the tests locally.
setlocal
set runner_root=%USERPROFILE%\testrunner
set nunit="%runner_root%\NUnit.ConsoleRunner.3.2.1\tools\nunit3-console.exe"
if not exist %nunit% (
rem Grabs the nunit test runner.
echo Installing nunit runner.
nuget install NUnit.ConsoleRunner -Version 3.2.1 -OutputDirectory "%runner_root%"
) else (
echo Nunit runner already installed.
)
rem Build the code with the travis configuration.
pushd Src\Support
msbuild /p:Configuration=ReleaseTravis GoogleApisClient.sln
set output=bin\ReleaseSigned
%nunit% ^
"GoogleApis.Tests\%output%\Google.Apis.Tests.exe" ^
"GoogleApis.Auth.Tests\%output%\Google.Apis.Auth.Tests.exe" ^
"GoogleApis.Auth.DotNet4.Tests\%output%\Google.Apis.Auth.DotNet4.Tests.exe"
popd
echo Done.