diff --git a/tests/Scripts/RunP0Tests.bat b/tests/Scripts/RunP0Tests.bat index 424a7a515d..f44aa6a7b1 100644 --- a/tests/Scripts/RunP0Tests.bat +++ b/tests/Scripts/RunP0Tests.bat @@ -19,8 +19,8 @@ REM Clean previous test results if exist functionaltests.*.xml ( del functionaltests.*.xml ) -if exist resultsfile.*.trx ( - del resultsfile.*.trx +if exist NuGetGallery.P0.*.trx ( + del NuGetGallery.P0.*.trx ) if exist TestResults ( rd TestResults /S /Q @@ -44,11 +44,11 @@ call %xunit% "%testDir%\NuGetGallery.FunctionalTests.dll" -trait "Category=%test if not "%errorlevel%"=="0" set exitCode=-1 REM Run web UI tests -call %mstest% /TestContainer:"NuGetGallery.WebUITests.P0\bin\%config%\NuGetGallery.WebUITests.P0.dll" /TestSettings:Local.testsettings /detail:stdout /resultsfile:resultsfile.web.trx +call %mstest% /TestContainer:"NuGetGallery.WebUITests.P0\bin\%config%\NuGetGallery.WebUITests.P0.dll" /TestSettings:Local.testsettings /detail:stdout /resultsfile:NuGetGallery.P0.WebUITests.trx if not "%errorlevel%"=="0" set exitCode=-1 REM Run Load tests -call %mstest% /TestContainer:"NuGetGallery.LoadTests\bin\%config%\NuGetGallery.LoadTests.dll" /TestSettings:Local.testsettings /detail:stdout /category:%testCategory% /resultsfile:resultsfile.load.trx +call %mstest% /TestContainer:"NuGetGallery.LoadTests\bin\%config%\NuGetGallery.LoadTests.dll" /TestSettings:Local.testsettings /detail:stdout /category:%testCategory% /resultsfile:NuGetGallery.P0.LoadTests.trx if not "%errorlevel%"=="0" set exitCode=-1 exit /B %exitCode% diff --git a/tests/Scripts/RunP1Tests.bat b/tests/Scripts/RunP1Tests.bat index 41c9fb181f..2f4085a3e4 100644 --- a/tests/Scripts/RunP1Tests.bat +++ b/tests/Scripts/RunP1Tests.bat @@ -19,8 +19,8 @@ REM Clean previous test results if exist functionaltests.*.xml ( del functionaltests.*.xml ) -if exist resultsfile.*.trx ( - del resultsfile.*.trx +if exist NuGetGallery.P1.*.trx ( + del NuGetGallery.P1.*.trx ) if exist TestResults ( rd TestResults /S /Q @@ -44,11 +44,11 @@ call %xunit% "%testDir%\NuGetGallery.FunctionalTests.dll" -trait "Category=%test if not "%errorlevel%"=="0" set exitCode=-1 REM Run web UI tests -call %mstest% /TestContainer:"NuGetGallery.WebUITests.P1\bin\%config%\NuGetGallery.WebUITests.P1.dll" /TestSettings:Local.testsettings /detail:stdout /resultsfile:resultsfile.web.trx +call %mstest% /TestContainer:"NuGetGallery.WebUITests.P1\bin\%config%\NuGetGallery.WebUITests.P1.dll" /TestSettings:Local.testsettings /detail:stdout /resultsfile:NuGetGallery.P1.WebUITests.trx if not "%errorlevel%"=="0" set exitCode=-1 REM Run Load tests -call %mstest% /TestContainer:"NuGetGallery.LoadTests\bin\%config%\NuGetGallery.LoadTests.dll" /TestSettings:Local.testsettings /detail:stdout /category:%testCategory% /resultsfile:resultsfile.load.trx +call %mstest% /TestContainer:"NuGetGallery.LoadTests\bin\%config%\NuGetGallery.LoadTests.dll" /TestSettings:Local.testsettings /detail:stdout /category:%testCategory% /resultsfile:NuGetGallery.P1.LoadTests.trx if not "%errorlevel%"=="0" set exitCode=-1 exit /B %exitCode% diff --git a/tests/Scripts/RunP2Tests.bat b/tests/Scripts/RunP2Tests.bat index 3ef32725da..b768792cea 100644 --- a/tests/Scripts/RunP2Tests.bat +++ b/tests/Scripts/RunP2Tests.bat @@ -19,8 +19,8 @@ REM Clean previous test results if exist functionaltests.*.xml ( del functionaltests.*.xml ) -if exist resultsfile.*.trx ( - del resultsfile.*.trx +if exist NuGetGallery.P2.*.trx ( + del NuGetGallery.P2.*.trx ) if exist TestResults ( rd TestResults /S /Q @@ -44,11 +44,11 @@ call %xunit% "%testDir%\NuGetGallery.FunctionalTests.dll" -trait "Category=%test if not "%errorlevel%"=="0" set exitCode=-1 REM Run web UI and load tests -call %mstest% /TestContainer:"NuGetGallery.WebUITests.P2\bin\%config%\NuGetGallery.WebUITests.P2.dll" /TestSettings:Local.testsettings /detail:stdout /resultsfile:resultsfile.web.trx +call %mstest% /TestContainer:"NuGetGallery.WebUITests.P2\bin\%config%\NuGetGallery.WebUITests.P2.dll" /TestSettings:Local.testsettings /detail:stdout /resultsfile:NuGetGallery.P2.WebUITests.trx if not "%errorlevel%"=="0" set exitCode=-1 REM Run Load tests -call %mstest% /TestContainer:"NuGetGallery.LoadTests\bin\%config%\NuGetGallery.LoadTests.dll" /TestSettings:Local.testsettings /detail:stdout /category:%testCategory% /resultsfile:resultsfile.load.trx +call %mstest% /TestContainer:"NuGetGallery.LoadTests\bin\%config%\NuGetGallery.LoadTests.dll" /TestSettings:Local.testsettings /detail:stdout /category:%testCategory% /resultsfile:NuGetGallery.P2.LoadTests.trx if not "%errorlevel%"=="0" set exitCode=-1 exit /B %exitCode%