summaryrefslogtreecommitdiff
path: root/devel/electron21/files/patch-electron_script_spec-runner.js
blob: 12821b3f867d6e701768c5a08c5b63566d5aad99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- electron/script/spec-runner.js.orig	2021-11-08 18:41:28 UTC
+++ electron/script/spec-runner.js
@@ -126,7 +126,7 @@ async function runElectronTests () {
 async function runTestUsingElectron (specDir, testName) {
   let 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';
   }