diff options
Diffstat (limited to 'src/api/api.cmd')
-rw-r--r-- | src/api/api.cmd | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/api/api.cmd b/src/api/api.cmd index ffc403d5..82c6ddf8 100644 --- a/src/api/api.cmd +++ b/src/api/api.cmd | |||
@@ -7,6 +7,8 @@ | |||
7 | @if /i "%1"=="release" set _C=Release | 7 | @if /i "%1"=="release" set _C=Release |
8 | @if not "%1"=="" shift & goto parse_args | 8 | @if not "%1"=="" shift & goto parse_args |
9 | 9 | ||
10 | @set _B=%~dp0..\..\build\api\%_C% | ||
11 | |||
10 | @echo Building api %_C% | 12 | @echo Building api %_C% |
11 | 13 | ||
12 | :: restore | 14 | :: restore |
@@ -17,8 +19,8 @@ msbuild api_t.proj -p:Configuration=%_C% -nologo -m -warnaserror -bl:%_L%\api_bu | |||
17 | 19 | ||
18 | :: test | 20 | :: test |
19 | dotnet test burn\test\WixToolsetTest.Mba.Core -c %_C% --nologo --no-build -l "trx;LogFileName=%_L%\TestResults\WixToolsetTest.Mba.Core.trx" || exit /b | 21 | dotnet test burn\test\WixToolsetTest.Mba.Core -c %_C% --nologo --no-build -l "trx;LogFileName=%_L%\TestResults\WixToolsetTest.Mba.Core.trx" || exit /b |
20 | msbuild burn\test\BalUtilUnitTest -t:Test -p:Configuration=%_C% -nologo -p:CppCliTestResultsFile="%_L%\TestResults\BalUtilUnitTest.xunit2.xml" || exit /b | 22 | dotnet test %_B%\x86\BalUtilUnitTest.dll --nologo -l "trx;LogFileName=%_L%\TestResults\BalUtilUnitTest.trx" || exit /b |
21 | msbuild burn\test\BextUtilUnitTest -t:Test -p:Configuration=%_C% -nologo -p:CppCliTestResultsFile="%_L%\TestResults\BextUtilUnitTest.xunit2.xml" || exit /b | 23 | dotnet test %_B%\x86\BextUtilUnitTest.dll --nologo -l "trx;LogFileName=%_L%\TestResults\BextUtilUnitTest.trx" || exit /b |
22 | dotnet test wix\api_wix.sln -c %_C% --nologo --no-build -l "trx;LogFileName=%_L%\TestResults\api_wix.trx" || exit /b | 24 | dotnet test wix\api_wix.sln -c %_C% --nologo --no-build -l "trx;LogFileName=%_L%\TestResults\api_wix.trx" || exit /b |
23 | 25 | ||
24 | @popd | 26 | @popd |