diff --git a/test.cmd b/test.cmd index 287b35b16..c102066da 100644 --- a/test.cmd +++ b/test.cmd @@ -18,7 +18,7 @@ set ConsoleRunner=%NunitDirectory%\nunit-console.exe echo %ConsoleRunner% :: run tests -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% -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% +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\%Config%\TestUtils.dll" /exclude=%Exclude% +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\%Config%\TestUtils.dll" /exclude=%Exclude% endlocal diff --git a/test.sh b/test.sh new file mode 100644 index 000000000..ac199a445 --- /dev/null +++ b/test.sh @@ -0,0 +1,15 @@ +#!/bin/sh -eu +Configuration="Debug" +if [ $# -gt 0 ]; then + Configuration=$1 +fi + +Exclude="" +if [ $# -gt 1 ]; then + Exclude="/exclude=$2" +fi + +NunitDirectory="packages\NUnit.Runners.2.6.4\tools" +ConsoleRunner="$NunitDirectory\nunit-console.exe" + +$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\\$Configuration\TestUtils.dll" $Exclude \ No newline at end of file