summaryrefslogtreecommitdiff
path: root/editors/vscode/files/patch-test_automation_src_code.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vscode/files/patch-test_automation_src_code.ts')
-rw-r--r--editors/vscode/files/patch-test_automation_src_code.ts11
1 files changed, 10 insertions, 1 deletions
diff --git a/editors/vscode/files/patch-test_automation_src_code.ts b/editors/vscode/files/patch-test_automation_src_code.ts
index 75067ca29d46..d5b9aea83a22 100644
--- a/editors/vscode/files/patch-test_automation_src_code.ts
+++ b/editors/vscode/files/patch-test_automation_src_code.ts
@@ -1,4 +1,4 @@
---- test/automation/src/code.ts.orig 2019-12-10 21:16:00 UTC
+--- test/automation/src/code.ts.orig 2021-03-04 22:21:59 UTC
+++ test/automation/src/code.ts
@@ -24,7 +24,7 @@ function getDevElectronPath(): string {
switch (process.platform) {
@@ -18,3 +18,12 @@
const product = require(path.join(root, 'resources', 'app', 'product.json'));
return path.join(root, product.applicationName);
}
+@@ -145,7 +145,7 @@ export async function spawn(options: SpawnOptions): Pr
+ '--driver', handle
+ ];
+
+- if (process.platform === 'linux') {
++ if (process.platform === 'linux' || process.platform === 'freebsd') {
+ args.push('--disable-gpu'); // Linux has trouble in VMs to render properly with GPU enabled
+ }
+