Skip to content

Commit 49581af

Browse files
committed
Disable renderer unit test on Windows
1 parent 6b9018f commit 49581af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/vs/workbench/contrib/terminal/test/browser/xterm/xtermTerminal.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import { MockContextKeyService } from 'vs/platform/keybinding/test/common/mockKe
3333
import { Color, RGBA } from 'vs/base/common/color';
3434
import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey';
3535
import { ITerminalLogService } from 'vs/platform/terminal/common/terminal';
36+
import { isWindows } from 'vs/base/common/platform';
3637

3738
class TestWebglAddon implements WebglAddon {
3839
static shouldThrow = false;
@@ -256,7 +257,9 @@ suite('XtermTerminal', () => {
256257
});
257258

258259
suite('renderers', () => {
259-
test('should re-evaluate gpu acceleration auto when the setting is changed', async () => {
260+
// This is skipped on Windows because the result depends on the webgl
261+
// renderer in the browsing context
262+
(isWindows ? test.skip : test)('should re-evaluate gpu acceleration auto when the setting is changed', async () => {
260263
// Check initial state
261264
strictEqual(TestWebglAddon.isEnabled, false);
262265

0 commit comments

Comments
 (0)