From 26b4c8f71f91d22e081b27814782686edde0c90a Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 1 Jan 2021 10:11:34 +0000 Subject: Revert r559792 to unbreak INDEX and bulk -a It seems a lot of reverse dependencies were missed With hat: portmgr --- editors/atom/files/patch-script_test | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 editors/atom/files/patch-script_test (limited to 'editors/atom/files/patch-script_test') 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: -- cgit v1.2.3