Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
5fd0d725
V
vscode
项目概览
掘金者说
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5fd0d725
编写于
5月 07, 2020
作者:
B
Benjamin Pasero
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
diag - publish crashes from builds as artefact
上级
1648deca
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
106 addition
and
15 deletion
+106
-15
build/azure-pipelines/darwin/continuous-build-darwin.yml
build/azure-pipelines/darwin/continuous-build-darwin.yml
+21
-0
build/azure-pipelines/darwin/product-build-darwin.yml
build/azure-pipelines/darwin/product-build-darwin.yml
+7
-0
build/azure-pipelines/linux/continuous-build-linux.yml
build/azure-pipelines/linux/continuous-build-linux.yml
+22
-0
build/azure-pipelines/linux/product-build-linux.yml
build/azure-pipelines/linux/product-build-linux.yml
+7
-0
build/azure-pipelines/win32/continuous-build-win32.yml
build/azure-pipelines/win32/continuous-build-win32.yml
+22
-0
build/azure-pipelines/win32/product-build-win32.yml
build/azure-pipelines/win32/product-build-win32.yml
+7
-0
scripts/test-integration.bat
scripts/test-integration.bat
+10
-8
scripts/test-integration.sh
scripts/test-integration.sh
+10
-7
未找到文件。
build/azure-pipelines/darwin/continuous-build-darwin.yml
浏览文件 @
5fd0d725
...
...
@@ -2,51 +2,72 @@ steps:
-
task
:
NodeTool@0
inputs
:
versionSpec
:
"
12.13.0"
-
task
:
geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
inputs
:
versionSpec
:
"
1.x"
-
task
:
1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1
inputs
:
keyfile
:
'
.yarnrc,
remote/.yarnrc,
**/yarn.lock,
!**/node_modules/**/yarn.lock,
!**/.*/**/yarn.lock'
targetfolder
:
'
**/node_modules,
!**/node_modules/**/node_modules'
vstsFeed
:
'
vscode-build-cache'
-
script
:
|
CHILD_CONCURRENCY=1 yarn --frozen-lockfile
displayName
:
Install Dependencies
condition
:
and(succeeded(), ne(variables['CacheRestored'], 'true'))
-
task
:
1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
inputs
:
keyfile
:
'
.yarnrc,
remote/.yarnrc,
**/yarn.lock,
!**/node_modules/**/yarn.lock,
!**/.*/**/yarn.lock'
targetfolder
:
'
**/node_modules,
!**/node_modules/**/node_modules'
vstsFeed
:
'
vscode-build-cache'
condition
:
and(succeeded(), ne(variables['CacheRestored'], 'true'))
-
script
:
|
yarn electron x64
displayName
:
Download Electron
-
script
:
|
yarn gulp hygiene
displayName
:
Run Hygiene Checks
-
script
:
|
yarn monaco-compile-check
displayName
:
Run Monaco Editor Checks
-
script
:
|
yarn valid-layers-check
displayName
:
Run Valid Layers Checks
-
script
:
|
yarn compile
displayName
:
Compile Sources
-
script
:
|
yarn download-builtin-extensions
displayName
:
Download Built-in Extensions
-
script
:
|
./scripts/test.sh --tfs "Unit Tests"
displayName
:
Run Unit Tests (Electron)
-
script
:
|
yarn test-browser --browser chromium --browser webkit --browser firefox
displayName
:
Run Unit Tests (Browser)
-
script
:
|
./scripts/test-integration.sh --tfs "Integration Tests"
displayName
:
Run Integration Tests (Electron)
-
task
:
PublishPipelineArtifact@0
inputs
:
artifactName
:
crash-dump-macos
targetPath
:
.build/crashes
displayName
:
'
Publish
Crash
Reports'
condition
:
succeededOrFailed()
-
task
:
PublishTestResults@2
displayName
:
Publish Tests Results
inputs
:
...
...
build/azure-pipelines/darwin/product-build-darwin.yml
浏览文件 @
5fd0d725
...
...
@@ -152,6 +152,13 @@ steps:
displayName
:
Run smoke tests (Browser)
condition
:
and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
-
task
:
PublishPipelineArtifact@0
inputs
:
artifactName
:
crash-dump-macos
targetPath
:
.build/crashes
displayName
:
'
Publish
Crash
Reports'
condition
:
succeededOrFailed()
-
script
:
|
set -e
security create-keychain -p pwd $(agent.tempdirectory)/buildagent.keychain
...
...
build/azure-pipelines/linux/continuous-build-linux.yml
浏览文件 @
5fd0d725
...
...
@@ -7,54 +7,76 @@ steps:
sudo chmod +x /etc/init.d/xvfb
sudo update-rc.d xvfb defaults
sudo service xvfb start
-
task
:
NodeTool@0
inputs
:
versionSpec
:
"
12.13.0"
-
task
:
geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
inputs
:
versionSpec
:
"
1.x"
-
task
:
1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1
inputs
:
keyfile
:
'
.yarnrc,
remote/.yarnrc,
**/yarn.lock,
!**/node_modules/**/yarn.lock,
!**/.*/**/yarn.lock'
targetfolder
:
'
**/node_modules,
!**/node_modules/**/node_modules'
vstsFeed
:
'
vscode-build-cache'
-
script
:
|
CHILD_CONCURRENCY=1 yarn --frozen-lockfile
displayName
:
Install Dependencies
condition
:
and(succeeded(), ne(variables['CacheRestored'], 'true'))
-
task
:
1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
inputs
:
keyfile
:
'
.yarnrc,
remote/.yarnrc,
**/yarn.lock,
!**/node_modules/**/yarn.lock,
!**/.*/**/yarn.lock'
targetfolder
:
'
**/node_modules,
!**/node_modules/**/node_modules'
vstsFeed
:
'
vscode-build-cache'
condition
:
and(succeeded(), ne(variables['CacheRestored'], 'true'))
-
script
:
|
yarn electron x64
displayName
:
Download Electron
-
script
:
|
yarn gulp hygiene
displayName
:
Run Hygiene Checks
-
script
:
|
yarn monaco-compile-check
displayName
:
Run Monaco Editor Checks
-
script
:
|
yarn valid-layers-check
displayName
:
Run Valid Layers Checks
-
script
:
|
yarn compile
displayName
:
Compile Sources
-
script
:
|
yarn download-builtin-extensions
displayName
:
Download Built-in Extensions
-
script
:
|
DISPLAY=:10 ./scripts/test.sh --tfs "Unit Tests"
displayName
:
Run Unit Tests (Electron)
-
script
:
|
DISPLAY=:10 yarn test-browser --browser chromium
displayName
:
Run Unit Tests (Browser)
-
script
:
|
DISPLAY=:10 ./scripts/test-integration.sh --tfs "Integration Tests"
displayName
:
Run Integration Tests (Electron)
-
task
:
PublishPipelineArtifact@0
inputs
:
artifactName
:
crash-dump-linux
targetPath
:
.build/crashes
displayName
:
'
Publish
Crash
Reports'
condition
:
succeededOrFailed()
-
task
:
PublishTestResults@2
displayName
:
Publish Tests Results
inputs
:
...
...
build/azure-pipelines/linux/product-build-linux.yml
浏览文件 @
5fd0d725
...
...
@@ -140,6 +140,13 @@ steps:
displayName
:
Run integration tests (Browser)
condition
:
and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
-
task
:
PublishPipelineArtifact@0
inputs
:
artifactName
:
crash-dump-linux
targetPath
:
.build/crashes
displayName
:
'
Publish
Crash
Reports'
condition
:
succeededOrFailed()
-
script
:
|
set -e
yarn gulp "vscode-linux-x64-build-deb"
...
...
build/azure-pipelines/win32/continuous-build-win32.yml
浏览文件 @
5fd0d725
...
...
@@ -2,56 +2,78 @@ steps:
-
task
:
NodeTool@0
inputs
:
versionSpec
:
"
12.13.0"
-
task
:
geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
inputs
:
versionSpec
:
"
1.x"
-
task
:
UsePythonVersion@0
inputs
:
versionSpec
:
'
2.x'
addToPath
:
true
-
task
:
1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1
inputs
:
keyfile
:
'
.yarnrc,
remote/.yarnrc,
**/yarn.lock,
!**/node_modules/**/yarn.lock,
!**/.*/**/yarn.lock'
targetfolder
:
'
**/node_modules,
!**/node_modules/**/node_modules'
vstsFeed
:
'
vscode-build-cache'
-
powershell
:
|
yarn --frozen-lockfile
env
:
CHILD_CONCURRENCY
:
"
1"
displayName
:
Install Dependencies
condition
:
and(succeeded(), ne(variables['CacheRestored'], 'true'))
-
task
:
1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
inputs
:
keyfile
:
'
.yarnrc,
remote/.yarnrc,
**/yarn.lock,
!**/node_modules/**/yarn.lock,
!**/.*/**/yarn.lock'
targetfolder
:
'
**/node_modules,
!**/node_modules/**/node_modules'
vstsFeed
:
'
vscode-build-cache'
condition
:
and(succeeded(), ne(variables['CacheRestored'], 'true'))
-
powershell
:
|
yarn electron
-
script
:
|
yarn gulp hygiene
displayName
:
Run Hygiene Checks
-
powershell
:
|
yarn monaco-compile-check
displayName
:
Run Monaco Editor Checks
-
script
:
|
yarn valid-layers-check
displayName
:
Run Valid Layers Checks
-
powershell
:
|
yarn compile
displayName
:
Compile Sources
-
powershell
:
|
yarn download-builtin-extensions
displayName
:
Download Built-in Extensions
-
powershell
:
|
.\scripts\test.bat --tfs "Unit Tests"
displayName
:
Run Unit Tests (Electron)
-
powershell
:
|
yarn test-browser --browser chromium --browser firefox
displayName
:
Run Unit Tests (Browser)
-
powershell
:
|
.\scripts\test-integration.bat --tfs "Integration Tests"
displayName
:
Run Integration Tests (Electron)
-
task
:
PublishPipelineArtifact@0
displayName
:
'
Publish
Crash
Reports'
inputs
:
artifactName
:
crash-dump-windows
targetPath
:
.build\crashes
condition
:
succeededOrFailed()
-
task
:
PublishTestResults@2
displayName
:
Publish Tests Results
inputs
:
...
...
build/azure-pipelines/win32/product-build-win32.yml
浏览文件 @
5fd0d725
...
...
@@ -149,6 +149,13 @@ steps:
displayName
:
Run integration tests (Browser)
condition
:
and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
-
task
:
PublishPipelineArtifact@0
inputs
:
artifactName
:
crash-dump-windows
targetPath
:
.build\crashes
displayName
:
'
Publish
Crash
Reports'
condition
:
succeededOrFailed()
-
task
:
SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
inputs
:
ConnectedServiceName
:
'
ESRP
CodeSign'
...
...
scripts/test-integration.bat
浏览文件 @
5fd0d725
...
...
@@ -4,14 +4,16 @@ setlocal
pushd
%~dp0
\..
set
VSCODEUSERDATADIR
=
%TEMP%
\vscodeuserfolder
-
%RANDOM%
-
%TIME
:
~
6
,
2
%
set
VSCODECRASHDIR
=
%~dp0
\..\.build\crashes
:: Figure out which Electron to use for running tests
if
"
%INTEGRATION_TEST_ELECTRON_PATH%
"
==
""
(
::
Run
out
of
sources
:
no
need
to
compile
as
code
.
sh
takes
care
of
it
::
Run
out
of
sources
:
no
need
to
compile
as
code
.
bat
takes
care
of
it
chcp
65001
set
INTEGRATION_TEST_ELECTRON_PATH
=
.\scripts\code.bat
set
VSCODE_BUILD_BUILTIN_EXTENSIONS_SILENCE_PLEASE
=
1
echo
Storing
crash
reports
into
'
%VSCODECRASHDIR%
'
.
echo
Running
integration
tests
out
of
sources
.
)
else
(
::
Run
from
a
built
:
need
to
compile
all
test
extensions
...
...
@@ -29,8 +31,8 @@ if "%INTEGRATION_TEST_ELECTRON_PATH%"=="" (
::
Configuration
for
more
verbose
output
set
VSCODE_CLI
=
1
set
ELECTRON_ENABLE_LOGGING
=
1
set
ELECTRON_ENABLE_STACK_DUMPING
=
1
echo
Storing
crash
reports
into
'
%VSCODECRASHDIR%
'
.
echo
Running
integration
tests
with
'
%INTEGRATION_TEST_ELECTRON_PATH%
'
as
build
.
)
...
...
@@ -40,25 +42,25 @@ if %errorlevel% neq 0 exit /b %errorlevel%
:: Tests in the extension host
call
"
%INTEGRATION_TEST_ELECTRON_PATH%
"
%~dp0
\..\extensions\vscode
-api-tests
\testWorkspace
--enable-proposed-api
=
vscode
.vscode
-api-tests --extensionDevelopmentPath
=
%~dp0
\..\extensions\vscode
-api-tests --extensionTestsPath
=
%~dp0
\..\extensions\vscode
-api-tests
\out\singlefolder
-tests --disable-telemetry --
disable-crash-reporter
--disable-updates --disable-extensions --user-data-dir
=
%VSCODEUSERDATADIR%
call
"
%INTEGRATION_TEST_ELECTRON_PATH%
"
%~dp0
\..\extensions\vscode
-api-tests
\testWorkspace
--enable-proposed-api
=
vscode
.vscode
-api-tests --extensionDevelopmentPath
=
%~dp0
\..\extensions\vscode
-api-tests --extensionTestsPath
=
%~dp0
\..\extensions\vscode
-api-tests
\out\singlefolder
-tests --disable-telemetry --
crash-reporter-directory
=
%VSCODECRASHDIR%
--disable-updates --disable-extensions --user-data-dir
=
%VSCODEUSERDATADIR%
if
%errorlevel%
neq
0
exit
/b
%errorlevel%
call
"
%INTEGRATION_TEST_ELECTRON_PATH%
"
%~dp0
\..\extensions\vscode
-api-tests
\testworkspace.code
-workspace --enable-proposed-api
=
vscode
.vscode
-api-tests --extensionDevelopmentPath
=
%~dp0
\..\extensions\vscode
-api-tests --extensionTestsPath
=
%~dp0
\..\extensions\vscode
-api-tests
\out\workspace
-tests --disable-telemetry --
disable-crash-reporter
--disable-updates --disable-extensions --user-data-dir
=
%VSCODEUSERDATADIR%
call
"
%INTEGRATION_TEST_ELECTRON_PATH%
"
%~dp0
\..\extensions\vscode
-api-tests
\testworkspace.code
-workspace --enable-proposed-api
=
vscode
.vscode
-api-tests --extensionDevelopmentPath
=
%~dp0
\..\extensions\vscode
-api-tests --extensionTestsPath
=
%~dp0
\..\extensions\vscode
-api-tests
\out\workspace
-tests --disable-telemetry --
crash-reporter-directory
=
%VSCODECRASHDIR%
--disable-updates --disable-extensions --user-data-dir
=
%VSCODEUSERDATADIR%
if
%errorlevel%
neq
0
exit
/b
%errorlevel%
call
"
%INTEGRATION_TEST_ELECTRON_PATH%
"
%~dp0
\..\extensions\vscode
-colorize-tests
\test
--extensionDevelopmentPath
=
%~dp0
\..\extensions\vscode
-colorize-tests --extensionTestsPath
=
%~dp0
\..\extensions\vscode
-colorize-tests
\out
--disable-telemetry --
disable-crash-reporter
--disable-updates --disable-extensions --user-data-dir
=
%VSCODEUSERDATADIR%
call
"
%INTEGRATION_TEST_ELECTRON_PATH%
"
%~dp0
\..\extensions\vscode
-colorize-tests
\test
--extensionDevelopmentPath
=
%~dp0
\..\extensions\vscode
-colorize-tests --extensionTestsPath
=
%~dp0
\..\extensions\vscode
-colorize-tests
\out
--disable-telemetry --
crash-reporter-directory
=
%VSCODECRASHDIR%
--disable-updates --disable-extensions --user-data-dir
=
%VSCODEUSERDATADIR%
if
%errorlevel%
neq
0
exit
/b
%errorlevel%
call
"
%INTEGRATION_TEST_ELECTRON_PATH%
"
$
%~dp0
\..\extensions\markdown
-language-features
\out\test\test
-fixtures --extensionDevelopmentPath
=
%~dp0
\..\extensions\markdown
-language-features --extensionTestsPath
=
%~dp0
\..\extensions\markdown
-language-features
\out\test
--disable-telemetry --
disable-crash-reporter
--disable-updates --disable-extensions --user-data-dir
=
%VSCODEUSERDATADIR%
.
call
"
%INTEGRATION_TEST_ELECTRON_PATH%
"
$
%~dp0
\..\extensions\markdown
-language-features
\out\test\test
-fixtures --extensionDevelopmentPath
=
%~dp0
\..\extensions\markdown
-language-features --extensionTestsPath
=
%~dp0
\..\extensions\markdown
-language-features
\out\test
--disable-telemetry --
crash-reporter-directory
=
%VSCODECRASHDIR%
--disable-updates --disable-extensions --user-data-dir
=
%VSCODEUSERDATADIR%
.
if
%errorlevel%
neq
0
exit
/b
%errorlevel%
call
"
%INTEGRATION_TEST_ELECTRON_PATH%
"
$
%~dp0
\..\extensions\emmet\out\test\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\out\test\test
-fixtures --extensionDevelopmentPath
=
%~dp0
\..\extensions\emmet
--extensionTestsPath
=
%~dp0
\..\extensions\emmet\out\test
--disable-telemetry --
crash-reporter-directory
=
%VSCODECRASHDIR%
--disable-updates --disable-extensions --user-data-dir
=
%VSCODEUSERDATADIR%
.
if
%errorlevel%
neq
0
exit
/b
%errorlevel%
for
/f
"delims="
%%i
in
(
'node -p "require('
fs
').realpathSync.native(require('
os
').tmpdir())"'
)
do
set
TEMPDIR
=
%%i
set
GITWORKSPACE
=
%TEMPDIR%
\git
-
%RANDOM%
mkdir
%GITWORKSPACE%
call
"
%INTEGRATION_TEST_ELECTRON_PATH%
"
%GITWORKSPACE%
--extensionDevelopmentPath
=
%~dp0
\..\extensions\git
--extensionTestsPath
=
%~dp0
\..\extensions\git\out\test
--enable-proposed-api
=
vscode
.git
--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
--enable-proposed-api
=
vscode
.git
--disable-telemetry --
crash-reporter-directory
=
%VSCODECRASHDIR%
--disable-updates --disable-extensions --user-data-dir
=
%VSCODEUSERDATADIR%
if
%errorlevel%
neq
0
exit
/b
%errorlevel%
:: Tests in commonJS (HTML, CSS, JSON language server tests...)
...
...
scripts/test-integration.sh
浏览文件 @
5fd0d725
...
...
@@ -10,6 +10,7 @@ else
fi
VSCODEUSERDATADIR
=
`
mktemp
-d
2>/dev/null
`
VSCODECRASHDIR
=
$ROOT
/.build/crashes
cd
$ROOT
# Figure out which Electron to use for running tests
...
...
@@ -18,6 +19,7 @@ then
# Run out of sources: no need to compile as code.sh takes care of it
INTEGRATION_TEST_ELECTRON_PATH
=
"./scripts/code.sh"
echo
"Storing crash reports into '
$VSCODECRASHDIR
'."
echo
"Running integration tests out of sources."
else
# Run from a built: need to compile all test extensions
...
...
@@ -38,6 +40,7 @@ else
export
ELECTRON_ENABLE_STACK_DUMPING
=
1
export
ELECTRON_ENABLE_LOGGING
=
1
echo
"Storing crash reports into '
$VSCODECRASHDIR
'."
echo
"Running integration tests with '
$INTEGRATION_TEST_ELECTRON_PATH
' as build."
fi
...
...
@@ -45,13 +48,13 @@ fi
./scripts/test.sh
--runGlob
**
/
*
.integrationTest.js
"
$@
"
# Tests in the extension host
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$ROOT
/extensions/vscode-notebook-tests/test
--enable-proposed-api
=
vscode.vscode-notebook-tests
--extensionDevelopmentPath
=
$ROOT
/extensions/vscode-notebook-tests
--extensionTestsPath
=
$ROOT
/extensions/vscode-notebook-tests/out/
--disable-telemetry
--
disable-crash-reporter
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$ROOT
/extensions/vscode-api-tests/testWorkspace
--enable-proposed-api
=
vscode.vscode-api-tests
--extensionDevelopmentPath
=
$ROOT
/extensions/vscode-api-tests
--extensionTestsPath
=
$ROOT
/extensions/vscode-api-tests/out/singlefolder-tests
--disable-telemetry
--
disable-crash-reporter
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$ROOT
/extensions/vscode-api-tests/testworkspace.code-workspace
--enable-proposed-api
=
vscode.vscode-api-tests
--extensionDevelopmentPath
=
$ROOT
/extensions/vscode-api-tests
--extensionTestsPath
=
$ROOT
/extensions/vscode-api-tests/out/workspace-tests
--disable-telemetry
--
disable-crash-reporter
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$ROOT
/extensions/vscode-colorize-tests/test
--extensionDevelopmentPath
=
$ROOT
/extensions/vscode-colorize-tests
--extensionTestsPath
=
$ROOT
/extensions/vscode-colorize-tests/out
--disable-telemetry
--
disable-crash-reporter
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$ROOT
/extensions/markdown-language-features/out/test/test-fixtures
--extensionDevelopmentPath
=
$ROOT
/extensions/markdown-language-features
--extensionTestsPath
=
$ROOT
/extensions/markdown-language-features/out/test
--disable-telemetry
--
disable-crash-reporter
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$ROOT
/extensions/emmet/out/test/test-fixtures
--extensionDevelopmentPath
=
$ROOT
/extensions/emmet
--extensionTestsPath
=
$ROOT
/extensions/emmet/out/test
--disable-telemetry
--
disable-crash-reporter
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$(
mktemp
-d
2>/dev/null
)
--enable-proposed-api
=
vscode.git
--extensionDevelopmentPath
=
$ROOT
/extensions/git
--extensionTestsPath
=
$ROOT
/extensions/git/out/test
--disable-telemetry
--
disable-crash-reporter
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$ROOT
/extensions/vscode-notebook-tests/test
--enable-proposed-api
=
vscode.vscode-notebook-tests
--extensionDevelopmentPath
=
$ROOT
/extensions/vscode-notebook-tests
--extensionTestsPath
=
$ROOT
/extensions/vscode-notebook-tests/out/
--disable-telemetry
--
crash-reporter-directory
=
$VSCODECRASHDIR
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$ROOT
/extensions/vscode-api-tests/testWorkspace
--enable-proposed-api
=
vscode.vscode-api-tests
--extensionDevelopmentPath
=
$ROOT
/extensions/vscode-api-tests
--extensionTestsPath
=
$ROOT
/extensions/vscode-api-tests/out/singlefolder-tests
--disable-telemetry
--
crash-reporter-directory
=
$VSCODECRASHDIR
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$ROOT
/extensions/vscode-api-tests/testworkspace.code-workspace
--enable-proposed-api
=
vscode.vscode-api-tests
--extensionDevelopmentPath
=
$ROOT
/extensions/vscode-api-tests
--extensionTestsPath
=
$ROOT
/extensions/vscode-api-tests/out/workspace-tests
--disable-telemetry
--
crash-reporter-directory
=
$VSCODECRASHDIR
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$ROOT
/extensions/vscode-colorize-tests/test
--extensionDevelopmentPath
=
$ROOT
/extensions/vscode-colorize-tests
--extensionTestsPath
=
$ROOT
/extensions/vscode-colorize-tests/out
--disable-telemetry
--
crash-reporter-directory
=
$VSCODECRASHDIR
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$ROOT
/extensions/markdown-language-features/out/test/test-fixtures
--extensionDevelopmentPath
=
$ROOT
/extensions/markdown-language-features
--extensionTestsPath
=
$ROOT
/extensions/markdown-language-features/out/test
--disable-telemetry
--
crash-reporter-directory
=
$VSCODECRASHDIR
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$ROOT
/extensions/emmet/out/test/test-fixtures
--extensionDevelopmentPath
=
$ROOT
/extensions/emmet
--extensionTestsPath
=
$ROOT
/extensions/emmet/out/test
--disable-telemetry
--
crash-reporter-directory
=
$VSCODECRASHDIR
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
"
$INTEGRATION_TEST_ELECTRON_PATH
"
$LINUX_NO_SANDBOX
$(
mktemp
-d
2>/dev/null
)
--enable-proposed-api
=
vscode.git
--extensionDevelopmentPath
=
$ROOT
/extensions/git
--extensionTestsPath
=
$ROOT
/extensions/git/out/test
--disable-telemetry
--
crash-reporter-directory
=
$VSCODECRASHDIR
--disable-updates
--disable-extensions
--user-data-dir
=
$VSCODEUSERDATADIR
# Tests in commonJS
cd
$ROOT
/extensions/css-language-features/server
&&
$ROOT
/scripts/node-electron.sh
test
/index.js
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录