Fix test cleanup to remove folders regardless if tests passed or failed (#5482)

This commit is contained in:
Charles Gagnon
2019-05-14 16:09:58 -07:00
committed by GitHub
parent a718fb3cae
commit 86986efb15

View File

@@ -18,11 +18,11 @@ if "%SKIP_PYTHON_INSTALL_TEST%" == "1" (
call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\integration-tests --extensionTestsPath=%~dp0\..\extensions\integration-tests\out --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222 call .\scripts\code.bat --extensionDevelopmentPath=%~dp0\..\extensions\integration-tests --extensionTestsPath=%~dp0\..\extensions\integration-tests\out --user-data-dir=%VSCODEUSERDATADIR% --extensions-dir=%VSCODEEXTENSIONSDIR% --remote-debugging-port=9222
if %errorlevel% neq 0 exit /b %errorlevel%
rmdir /s /q %VSCODEUSERDATADIR% rmdir /s /q %VSCODEUSERDATADIR%
rmdir /s /q %VSCODEEXTENSIONSDIR% rmdir /s /q %VSCODEEXTENSIONSDIR%
if %errorlevel% neq 0 exit /b %errorlevel%
popd popd
endlocal endlocal