mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-11 14:45:31 +03:00
Forgot that wayland is not built on CI
This commit is contained in:
parent
dbc1ade5a9
commit
6a901ea048
@ -6,8 +6,10 @@
|
||||
import os
|
||||
import unittest
|
||||
|
||||
from . import BaseTest
|
||||
|
||||
class TestBuild(unittest.TestCase):
|
||||
|
||||
class TestBuild(BaseTest):
|
||||
|
||||
def test_exe(self) -> None:
|
||||
from kitty.constants import kitty_exe
|
||||
@ -30,7 +32,10 @@ def test_loading_shaders(self) -> None:
|
||||
|
||||
def test_glfw_modules(self) -> None:
|
||||
from kitty.constants import is_macos, glfw_path
|
||||
modules = ('cocoa',) if is_macos else ('x11', 'wayland')
|
||||
linux_backends = ['x11']
|
||||
if not self.is_ci:
|
||||
linux_backends.append('wayland')
|
||||
modules = ['cocoa'] if is_macos else linux_backends
|
||||
for name in modules:
|
||||
path = glfw_path(name)
|
||||
self.assertTrue(os.path.isfile(path))
|
||||
|
Loading…
Reference in New Issue
Block a user