aboutsummaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-electron_script_spec-runner.js
blob: 26f32cf63b99f50d348f4ea2b522d5870a24ea8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- electron/script/spec-runner.js.orig	2020-02-20 17:38:02 UTC
+++ electron/script/spec-runner.js
@@ -115,7 +115,7 @@ async function runElectronTests () {
 async function runRemoteBasedElectronTests () {
   let exe = path.resolve(BASE, utils.getElectronExec())
   const runnerArgs = ['electron/spec', ...unknownArgs.slice(2)]
-  if (process.platform === 'linux') {
+  if (process.platform === 'linux' || process.platform === 'freebsd') {
     runnerArgs.unshift(path.resolve(__dirname, 'dbus_mock.py'), exe)
     exe = 'python'
   }