build: remove log from the spec runner

This commit is contained in:
Samuel Attard 2019-03-11 17:09:34 -07:00
parent a55d1ef305
commit 259bc3a918
No known key found for this signature in database
GPG key ID: 191FEF027779CC6C
2 changed files with 2 additions and 4 deletions

2
DEPS
View file

@ -107,7 +107,7 @@ hooks = [
'action': [ 'action': [
'python', 'python',
'-c', '-c',
'import os, subprocess; os.chdir(os.path.join("src", "electron")); subprocess.check_call(["python", "script/lib/npm.py", "ci"]);', 'import os, subprocess; os.chdir(os.path.join("src", "electron")); subprocess.check_call(["python", "script/lib/npm.py", "install"]);',
], ],
}, },
{ {

View file

@ -115,8 +115,6 @@ async function runMainProcessElectronTests () {
const exe = path.resolve(BASE, utils.getElectronExec()) const exe = path.resolve(BASE, utils.getElectronExec())
const args = process.argv.slice(2).filter(arg => !arg.startsWith('--only=')) const args = process.argv.slice(2).filter(arg => !arg.startsWith('--only='))
console.log(exe, args)
const { status } = childProcess.spawnSync(exe, ['electron/spec-main', ...args], { const { status } = childProcess.spawnSync(exe, ['electron/spec-main', ...args], {
cwd: path.resolve(__dirname, '../..'), cwd: path.resolve(__dirname, '../..'),
stdio: 'inherit' stdio: 'inherit'
@ -132,7 +130,7 @@ async function installSpecModules () {
npm_config_nodedir: nodeDir, npm_config_nodedir: nodeDir,
npm_config_msvs_version: '2017' npm_config_msvs_version: '2017'
}) })
const { status } = childProcess.spawnSync(NPM_CMD, ['ci'], { const { status } = childProcess.spawnSync(NPM_CMD, ['install'], {
env, env,
cwd: path.resolve(__dirname, '../spec'), cwd: path.resolve(__dirname, '../spec'),
stdio: 'inherit' stdio: 'inherit'