1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- script/test.orig 2019-12-13 19:07:42 UTC
+++ script/test
@@ -51,7 +51,7 @@ if (process.platform === 'darwin') {
const executablePaths = glob.sync(path.join(CONFIG.buildOutputPath, '*.app'))
assert(executablePaths.length === 1, `More than one application to run tests against was found. ${executablePaths.join(',')}`)
executablePath = path.join(executablePaths[0], 'Contents', 'MacOS', path.basename(executablePaths[0], '.app'))
-} else if (process.platform === 'linux') {
+} else if (process.platform === 'linux' || process.platform === 'freebsd') {
const executablePaths = glob.sync(path.join(CONFIG.buildOutputPath, 'atom-*', 'atom'))
assert(executablePaths.length === 1, `More than one application to run tests against was found. ${executablePaths.join(',')}`)
executablePath = executablePaths[0]
@@ -215,7 +215,7 @@ function testSuitesForPlatform (platform) {
case 'win32':
suites = (process.arch === 'x64') ? [runCoreMainProcessTests, runCoreRenderProcessTests] : [runCoreMainProcessTests]
break
- case 'linux':
+ case 'linux': case 'freebsd':
suites = [runCoreMainProcessTests]
break
default:
|