mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Run main process tests with ATOM_GITHUB_INLINE_GIT_EXEC set
This commit is contained in:
@@ -38,7 +38,10 @@ function runCoreMainProcessTests (callback) {
|
||||
]
|
||||
|
||||
console.log('Executing core main process tests'.bold.green)
|
||||
const cp = childProcess.spawn(executablePath, testArguments, {stdio: 'inherit'})
|
||||
const cp = childProcess.spawn(executablePath, testArguments, {
|
||||
stdio: 'inherit',
|
||||
env: Object.assign({}, process.env, {ATOM_GITHUB_INLINE_GIT_EXEC: 'true'})
|
||||
})
|
||||
cp.on('error', error => { callback(error) })
|
||||
cp.on('close', exitCode => { callback(null, exitCode) })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user