We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc1ade commit 6a901eaCopy full SHA for 6a901ea
kitty_tests/check_build.py
@@ -6,8 +6,10 @@
6
import os
7
import unittest
8
9
+from . import BaseTest
10
-class TestBuild(unittest.TestCase):
11
+
12
+class TestBuild(BaseTest):
13
14
def test_exe(self) -> None:
15
from kitty.constants import kitty_exe
@@ -30,7 +32,10 @@ def test_loading_shaders(self) -> None:
30
32
31
33
def test_glfw_modules(self) -> None:
34
from kitty.constants import is_macos, glfw_path
- modules = ('cocoa',) if is_macos else ('x11', 'wayland')
35
+ linux_backends = ['x11']
36
+ if not self.is_ci:
37
+ linux_backends.append('wayland')
38
+ modules = ['cocoa'] if is_macos else linux_backends
39
for name in modules:
40
path = glfw_path(name)
41
self.assertTrue(os.path.isfile(path))
0 commit comments