Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 79693eb

Browse files
committed
Make test.cmd execute scripts\test.ps1
1 parent 3f7489b commit 79693eb

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

test.cmd

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
1-
@rem Tests currently only work on `Release` build.
2-
@if "%config%" == "" set config=Release
3-
4-
call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat"
5-
6-
msbuild GitHubVS.sln /p:Configuration=%Config%
7-
VSTest.Console.exe src\UnitTests\bin\%Config%\UnitTests.dll /TestAdapterPath:"."
8-
VSTest.Console.exe src\TrackingCollectionTests\bin\%Config%\TrackingCollectionTests.dll /TestAdapterPath:"."
1+
@if "%1" == "" echo Please specify Debug or Release && EXIT /B
2+
powershell -ExecutionPolicy Unrestricted scripts\test.ps1 -Config:%1

0 commit comments

Comments
 (0)