build: remove log from the spec runner
This commit is contained in:
		
					parent
					
						
							
								a55d1ef305
							
						
					
				
			
			
				commit
				
					
						259bc3a918
					
				
			
		
					 2 changed files with 2 additions and 4 deletions
				
			
		
							
								
								
									
										2
									
								
								DEPS
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								DEPS
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -107,7 +107,7 @@ hooks = [
 | 
			
		|||
    'action': [
 | 
			
		||||
      'python',
 | 
			
		||||
      '-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"]);',
 | 
			
		||||
    ],
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -115,8 +115,6 @@ async function runMainProcessElectronTests () {
 | 
			
		|||
  const exe = path.resolve(BASE, utils.getElectronExec())
 | 
			
		||||
  const args = process.argv.slice(2).filter(arg => !arg.startsWith('--only='))
 | 
			
		||||
 | 
			
		||||
  console.log(exe, args)
 | 
			
		||||
 | 
			
		||||
  const { status } = childProcess.spawnSync(exe, ['electron/spec-main', ...args], {
 | 
			
		||||
    cwd: path.resolve(__dirname, '../..'),
 | 
			
		||||
    stdio: 'inherit'
 | 
			
		||||
| 
						 | 
				
			
			@ -132,7 +130,7 @@ async function installSpecModules () {
 | 
			
		|||
    npm_config_nodedir: nodeDir,
 | 
			
		||||
    npm_config_msvs_version: '2017'
 | 
			
		||||
  })
 | 
			
		||||
  const { status } = childProcess.spawnSync(NPM_CMD, ['ci'], {
 | 
			
		||||
  const { status } = childProcess.spawnSync(NPM_CMD, ['install'], {
 | 
			
		||||
    env,
 | 
			
		||||
    cwd: path.resolve(__dirname, '../spec'),
 | 
			
		||||
    stdio: 'inherit'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue