This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
@ echo off
2
2
setlocal
3
3
4
+ set Config = Debug
5
+ if not %1 .== . (
6
+ set Config = %1
7
+ )
8
+
9
+ set Exclude = ''
10
+ if not %2 .== . (
11
+ set Exclude = %2
12
+ )
13
+
4
14
:: make sure at Unity project root directory
5
15
set NunitDirectory = packages\NUnit.Runners.2.6.4\tools
6
16
echo %NunitDirectory%
7
17
set ConsoleRunner = %NunitDirectory% \nunit-console.exe
8
18
echo %ConsoleRunner%
9
19
10
20
:: run tests
11
- echo Running " build\IntegrationTests\IntegrationTests.dll" " build\IntegrationTests\TestUtils.dll" " build\TaskSystemIntegrationTests\TaskSystemIntegrationTests.dll" " build\UnitTests\TestUtils.dll" " build\UnitTests\UnitTests.dll" " src\tests\TestUtils\bin\Release\TestUtils.dll" %1
12
- call %ConsoleRunner% " build\IntegrationTests\IntegrationTests.dll" " build\IntegrationTests\TestUtils.dll" " build\TaskSystemIntegrationTests\TaskSystemIntegrationTests.dll" " build\UnitTests\TestUtils.dll" " build\UnitTests\UnitTests.dll" " src\tests\TestUtils\bin\Release\TestUtils.dll" %1
21
+ echo Running " build\IntegrationTests\IntegrationTests.dll" " build\IntegrationTests\TestUtils.dll" " build\TaskSystemIntegrationTests\TaskSystemIntegrationTests.dll" " build\UnitTests\TestUtils.dll" " build\UnitTests\UnitTests.dll" " src\tests\TestUtils\bin\Release\TestUtils.dll" /config= %Config% /exclude= %Exclude%
22
+ call %ConsoleRunner% " build\IntegrationTests\IntegrationTests.dll" " build\IntegrationTests\TestUtils.dll" " build\TaskSystemIntegrationTests\TaskSystemIntegrationTests.dll" " build\UnitTests\TestUtils.dll" " build\UnitTests\UnitTests.dll" " src\tests\TestUtils\bin\Release\TestUtils.dll" /config= %Config% /exclude= %Exclude%
13
23
14
24
endlocal
You can’t perform that action at this time.
0 commit comments