Dump the environment before running core main process tests

This commit is contained in:
Ash Wilson 2017-07-31 15:07:05 -04:00
parent 76af36939a
commit adec6fe981
No known key found for this signature in database
GPG Key ID: 81B1DDB704F69D2A

View File

@ -51,7 +51,9 @@ function runCoreMainProcessTests (callback) {
'--resource-path', resourcePath,
'--test', '--main-process', testPath
]
const testEnv = Object.assign({}, prepareEnv('core-main-process'), process.env, {ATOM_GITHUB_INLINE_GIT_EXEC: 'true'})
const testEnv = Object.assign({}, prepareEnv('core-main-process'), {ATOM_GITHUB_INLINE_GIT_EXEC: 'true'})
console.log(`test environment: ${require('util').inspect(testEnv)}`)
console.log('Executing core main process tests'.bold.green)
const cp = childProcess.spawn(executablePath, testArguments, {stdio: 'inherit', env: testEnv})