diff options
Diffstat (limited to 'editors/atom/files/patch-script_test')
-rw-r--r-- | editors/atom/files/patch-script_test | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/atom/files/patch-script_test b/editors/atom/files/patch-script_test new file mode 100644 index 000000000000..7bde6f8301cb --- /dev/null +++ b/editors/atom/files/patch-script_test @@ -0,0 +1,20 @@ +--- script/test.orig 2020-05-18 19:34:10 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] +@@ -222,7 +222,7 @@ function testSuitesForPlatform (platform) { + case 'win32': + suites = (process.arch === 'x64') ? [runCoreMainProcessTests, runCoreRenderProcessTests] : [runCoreMainProcessTests] + break +- case 'linux': ++ case 'linux': case 'freebsd': + suites = [runCoreMainProcessTests] + break + default: |