aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-electron_script_spec-runner.js
blob: a8cb776a89db962401ceae8e302531e0c6c8115c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- electron/script/spec-runner.js.orig	2024-10-09 13:53:06 UTC
+++ electron/script/spec-runner.js
@@ -165,7 +165,7 @@ async function runTestUsingElectron (specDir, testName
     exe = path.resolve(BASE, utils.getElectronExec());
   }
   const runnerArgs = [`electron/${specDir}`, ...unknownArgs.slice(2)];
-  if (process.platform === 'linux') {
+  if (process.platform === 'linux' || process.platform === 'freebsd') {
     runnerArgs.unshift(path.resolve(__dirname, 'dbus_mock.py'), exe);
     exe = 'python3';
   }