summaryrefslogtreecommitdiff
path: root/devel/electron6/files/patch-electron_script_spec-runner.js
blob: 56662219674a8e569906102346b4c2bc68a4f759 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- electron/script/spec-runner.js.orig	2019-12-20 06:08:27 UTC
+++ electron/script/spec-runner.js
@@ -114,7 +114,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'
   }