mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Merge pull request #9514 from electron/disable-crash-specs-on-linux
Backport disabling crash specs on linux to 1.6
This commit is contained in:
@@ -9,6 +9,7 @@ const url = require('url')
|
||||
const {closeWindow} = require('./window-helpers')
|
||||
|
||||
const {remote} = require('electron')
|
||||
const isCI = remote.getGlobal('isCi')
|
||||
const {app, BrowserWindow, crashReporter} = remote.require('electron')
|
||||
|
||||
describe('crashReporter module', function () {
|
||||
@@ -16,6 +17,12 @@ describe('crashReporter module', function () {
|
||||
return
|
||||
}
|
||||
|
||||
// FIXME internal Linux CI is failing when it detects a process crashes
|
||||
// which is a false positive here since crashes are explicitly triggered
|
||||
if (isCI && process.platform === 'linux') {
|
||||
return
|
||||
}
|
||||
|
||||
var originalTempDirectory = null
|
||||
var tempDirectory = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user