From a0fefd3856a4f03be0abbc51f7a9a0416db69eb5 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Tue, 13 Oct 2026 12:50:54 +0300 Subject: Make term standalone library and export Meson dependencies --- tests/extern/kitty/screen.py | 2 +- tests/meson.build | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/extern/kitty/screen.py b/tests/extern/kitty/screen.py index 80f8e71..cc7289b 100644 --- a/tests/extern/kitty/screen.py +++ b/tests/extern/kitty/screen.py @@ -13,7 +13,7 @@ import os # Shared library loading # --------------------------------------------------------------------------- -_lib = ctypes.CDLL(os.environ.get('WSAP_KITTY_LIB', os.path.join(os.path.dirname(__file__), 'libterm.so'))) +_lib = ctypes.CDLL(os.environ.get('WSAP_KITTY_LIB', os.path.join(os.path.dirname(__file__), 'libkitty_bridge.so'))) # struct term_cell { uint32_t text, fg, bg; uint16_t attrs; uint8_t width, reserved; } class TermCell(ctypes.Structure): diff --git a/tests/meson.build b/tests/meson.build index 0aa78e8..4cf559c 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -95,9 +95,9 @@ foreach entry : term_tests endforeach test('term-symbols-test', bash, - args: [files('symbols_test.sh'), term_headless_lib.get_static_lib(), + args: [files('symbols_test.sh'), term_lib.get_static_lib(), meson.project_source_root() / 'include' / 'term', - term_headless_lib.get_shared_lib()], + term_lib.get_shared_lib()], env: test_env, suite: 'unit', ) @@ -119,7 +119,7 @@ kitty_tests = get_option('kitty').require( ) term_kitty_tests = kitty_tests.allowed() if term_kitty_tests - kitty_bridge = shared_library('term', 'extern/kitty/screen_bridge.c', + kitty_bridge = shared_library('kitty_bridge', 'extern/kitty/screen_bridge.c', dependencies: term_internal_dep, ) kitty_env = environment() -- cgit v1.2.3