summaryrefslogtreecommitdiff
path: root/editors/atom/files/patch-script_test
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /editors/atom/files/patch-script_test
parentNew port: math/py-optuna: A hyperparameter optimization framework (diff)
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed With hat: portmgr
Notes
Notes: svn path=/head/; revision=559822
Diffstat (limited to 'editors/atom/files/patch-script_test')
-rw-r--r--editors/atom/files/patch-script_test20
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: