mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
maybe
This commit is contained in:
parent
2458ab3a4a
commit
d24ed62c0e
1 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ setlocal
|
||||||
|
|
||||||
pushd %~dp0\..
|
pushd %~dp0\..
|
||||||
|
|
||||||
set VSCODEUSERDATADIR=%TMP%\vscodeuserfolder-%RANDOM%-%TIME:~6,2%
|
set VSCODEUSERDATADIR=%TEMP%\vscodeuserfolder-%RANDOM%-%TIME:~6,2%
|
||||||
|
|
||||||
:: Figure out which Electron to use for running tests
|
:: Figure out which Electron to use for running tests
|
||||||
if "%INTEGRATION_TEST_ELECTRON_PATH%"=="" (
|
if "%INTEGRATION_TEST_ELECTRON_PATH%"=="" (
|
||||||
|
@ -50,10 +50,10 @@ if %errorlevel% neq 0 exit /b %errorlevel%
|
||||||
call "%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% .
|
call "%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% .
|
||||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||||
|
|
||||||
REM set GITWORKSPACE=%TMP%\git-%RANDOM%
|
set GITWORKSPACE=%TEMP%\git-%RANDOM%
|
||||||
REM mkdir %GITWORKSPACE%
|
mkdir %GITWORKSPACE%
|
||||||
REM 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%
|
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%
|
||||||
REM if %errorlevel% neq 0 exit /b %errorlevel%
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||||
|
|
||||||
:: Tests in commonJS (HTML, CSS, JSON language server tests...)
|
:: Tests in commonJS (HTML, CSS, JSON language server tests...)
|
||||||
call .\scripts\node-electron.bat .\node_modules\mocha\bin\_mocha .\extensions\*\server\out\test\**\*.test.js
|
call .\scripts\node-electron.bat .\node_modules\mocha\bin\_mocha .\extensions\*\server\out\test\**\*.test.js
|
||||||
|
|
Loading…
Reference in a new issue