From 6a901ea0488738e6fa1dd1b86438f614c68f8f11 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 19 Feb 2021 18:09:12 +0530 Subject: [PATCH] Forgot that wayland is not built on CI --- kitty_tests/check_build.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/kitty_tests/check_build.py b/kitty_tests/check_build.py index 674ad3a23..d58e02b9b 100644 --- a/kitty_tests/check_build.py +++ b/kitty_tests/check_build.py @@ -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 @@ class TestBuild(unittest.TestCase): 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))