mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
run remote integration tests if present
This commit is contained in:
parent
bb714d5982
commit
c20b7a9658
|
@ -26,6 +26,10 @@ if %errorlevel% neq 0 exit /b %errorlevel%
|
|||
call .\scripts\node-electron.bat .\node_modules\mocha\bin\_mocha .\extensions\*\server\out\test\**\*.test.js
|
||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||
|
||||
if exist ".\resources\server\test\test-remote-integration.bat" (
|
||||
call .\resources\server\test\test-remote-integration.bat
|
||||
)
|
||||
|
||||
rmdir /s /q %VSCODEUSERDATADIR%
|
||||
|
||||
popd
|
||||
|
|
|
@ -25,6 +25,10 @@ mkdir -p $ROOT/extensions/emmet/test-fixtures
|
|||
./scripts/code.sh $ROOT/extensions/emmet/test-fixtures --extensionDevelopmentPath=$ROOT/extensions/emmet --extensionTestsPath=$ROOT/extensions/emmet/out/test --disable-extensions --user-data-dir=$VSCODEUSERDATADIR --skip-getting-started
|
||||
rm -rf $ROOT/extensions/emmet/test-fixtures
|
||||
|
||||
if [ -f ./resources/server/test/test-remote-integration.sh ]; then
|
||||
./resources/server/test/test-remote-integration.sh
|
||||
fi
|
||||
|
||||
# Tests in commonJS
|
||||
cd $ROOT/extensions/css-language-features/server && $ROOT/scripts/node-electron.sh test/index.js
|
||||
cd $ROOT/extensions/html-language-features/server && $ROOT/scripts/node-electron.sh test/index.js
|
||||
|
|
Loading…
Reference in a new issue