33
44pushd %~dp0 \..
55
6- set VSCODEUSERDATADIR = %TMP% \vscodeuserfolder-%RANDOM% -%TIME:~6 ,5 %
6+ set VSCODEUSERDATADIR = %TMP% \vscodeuserfolder-%RANDOM% -%TIME:~6 ,2 %
77
88:: Figure out which Electron to use for running tests
99if " %INTEGRATION_TEST_ELECTRON_PATH% " == " " (
@@ -12,7 +12,7 @@ if "%INTEGRATION_TEST_ELECTRON_PATH%"=="" (
1212 set INTEGRATION_TEST_ELECTRON_PATH = .\scripts\code.bat
1313 set VSCODE_BUILD_BUILTIN_EXTENSIONS_SILENCE_PLEASE = 1
1414
15- echo " Running integration tests out of sources."
15+ echo Running integration tests out of sources.
1616) else (
1717 :: Run from a built: need to compile all test extensions
1818 call yarn gulp compile-extension:vscode-api-tests
@@ -29,7 +29,7 @@ if "%INTEGRATION_TEST_ELECTRON_PATH%"=="" (
2929 set ELECTRON_ENABLE_LOGGING = 1
3030 set ELECTRON_ENABLE_STACK_DUMPING = 1
3131
32- echo " Running integration tests with '%INTEGRATION_TEST_ELECTRON_PATH% ' as build."
32+ echo Running integration tests with '%INTEGRATION_TEST_ELECTRON_PATH% ' as build.
3333)
3434
3535:: Integration & performance tests in AMD
@@ -50,7 +50,9 @@ if %errorlevel% neq 0 exit /b %errorlevel%
5050call " %INTEGRATION_TEST_ELECTRON_PATH% " $%~dp0 \..\extensions\emmet\test-fixtures --extensionDevelopmentPath=%~dp0 \..\extensions\emmet --extensionTestsPath=%~dp0 \..\extensions\emmet\out\test --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --user-data-dir=%VSCODEUSERDATADIR% .
5151if %errorlevel% neq 0 exit /b %errorlevel%
5252
53- call " %INTEGRATION_TEST_ELECTRON_PATH% " %TMP% \git-%RANDOM% -%TIME:~6 ,5 % --extensionDevelopmentPath=%~dp0 \..\extensions\git --extensionTestsPath=%~dp0 \..\extensions\git\out\test --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --user-data-dir=%VSCODEUSERDATADIR% .
53+ set GITWORKSPACE = %TMP% \git-%RANDOM%
54+ mkdir %GITWORKSPACE%
55+ call " %INTEGRATION_TEST_ELECTRON_PATH% " %GITWORKSPACE% --extensionDevelopmentPath=%~dp0 \..\extensions\git --extensionTestsPath=%~dp0 \..\extensions\git\out\test --disable-telemetry --disable-crash-reporter --disable-updates --disable-extensions --user-data-dir=%VSCODEUSERDATADIR%
5456if %errorlevel% neq 0 exit /b %errorlevel%
5557
5658:: Tests in commonJS (HTML, CSS, JSON language server tests...)
0 commit comments