summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-13 12:50:54 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-13 12:50:54 +0300
commita0fefd3856a4f03be0abbc51f7a9a0416db69eb5 (patch)
treea06737c8fcea5ee6d7d20223e9c36272e66b9e26 /tests
parent71f0b19476adb170c24d6a8de4ab3133701b1aeb (diff)
Make term standalone library and export Meson dependencies
Diffstat (limited to 'tests')
-rw-r--r--tests/extern/kitty/screen.py2
-rw-r--r--tests/meson.build6
2 files changed, 4 insertions, 4 deletions
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()