summaryrefslogtreecommitdiff
path: root/editors/atom/files/patch-script_test
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2020-02-19 20:02:31 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2020-02-19 20:02:31 +0000
commit3bd4ee6968e866ad13694693027d8f6a684ca4db (patch)
tree2305e4348491a391ecbcf0e9bb62221589098729 /editors/atom/files/patch-script_test
parentUpdate webkit2-gtk3 to 2.26.4. (diff)
Add atom 1.44.0, hackable text editor for the 21st century.
Many thanks to the maintainer Hiroki for his very appreciated work on it.
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..610bafd60c13
--- /dev/null
+++ b/editors/atom/files/patch-script_test
@@ -0,0 +1,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: