summaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-electron_script_spec-runner.js
blob: 8901659df179bde98e79de8c1bebaff597f61343 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- electron/script/spec-runner.js.orig	2025-09-27 17:30:52 UTC
+++ electron/script/spec-runner.js
@@ -359,7 +359,7 @@ async function runTestUsingElectron (specDir, testName
     argsToPass = argsToPass.filter(arg => (arg.toString().indexOf('--files') === -1 && arg.toString().indexOf('spec/') === -1));
   }
   const runnerArgs = [`electron/${specDir}`, ...argsToPass, ...additionalArgs];
-  if (process.platform === 'linux') {
+  if (process.platform === 'linux' || process.platform === 'freebsd') {
     runnerArgs.unshift(path.resolve(__dirname, 'dbus_mock.py'), exe);
     exe = 'python3';
   }