提交 4c65979d 编写于 作者: J Joao

fix smoketest launching

上级 9f05aa01
......@@ -24,5 +24,5 @@ step "Build minified & upload source maps" \
step "Run smoke test" \
pushd test/smoke
npm install
npm run smoketest -- "$AGENT_BUILDDIRECTORY/VSCode-darwin/Visual Studio Code - Insiders.app/Contents/MacOS/Electron"
npm run smoketest -- --build "$AGENT_BUILDDIRECTORY/VSCode-darwin/Visual Studio Code - Insiders.app/Contents/MacOS/Electron"
popd
\ No newline at end of file
......@@ -36,7 +36,7 @@ function configureEnvironment {
function runTest {
pushd test/smoke
npm install
sudo -u testuser -H xvfb-run -a -s "-screen 0 1024x768x8" npm run smoketest -- "$AGENT_BUILDDIRECTORY/VSCode-linux-ia32/code-insiders"
sudo -u testuser -H xvfb-run -a -s "-screen 0 1024x768x8" npm run smoketest -- --build "$AGENT_BUILDDIRECTORY/VSCode-linux-ia32/code-insiders"
popd
}
......
......@@ -40,7 +40,7 @@ step "Build minified" {
step "Run smoke test" {
exec { & Push-Location test\smoke }
exec { & npm install }
exec { & npm run smoketest -- "$env:AGENT_BUILDDIRECTORY\VSCode-win32-$global:arch\Code - Insiders.exe" }
exec { & npm run smoketest -- --build "$env:AGENT_BUILDDIRECTORY\VSCode-win32-$global:arch\Code - Insiders.exe" }
exec { & Pop-Location }
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册