summaryrefslogtreecommitdiff
path: root/Meta/Lagom
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2022-04-03 11:26:36 -0400
committerAndreas Kling <kling@serenityos.org>2022-04-03 19:16:03 +0200
commitfd821213191f78a897dcacef40e8658737e9526e (patch)
tree34a927527db0258f322e8adcc87c36831e6528a6 /Meta/Lagom
parent9b2460077951bcdd3137f82c961bd8fc4645c2fc (diff)
downloadserenity-fd821213191f78a897dcacef40e8658737e9526e.zip
Tests: Add some test coverage for the TTF parser
This is in Tests/LibTTF instead of Tests/LibGfx because Tests/LibGfx depends on serenity's file system layout and can't run in lagom, but this new test runs just fine in lagom.
Diffstat (limited to 'Meta/Lagom')
-rw-r--r--Meta/Lagom/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt
index bd4403889c..4752ec9e96 100644
--- a/Meta/Lagom/CMakeLists.txt
+++ b/Meta/Lagom/CMakeLists.txt
@@ -338,7 +338,7 @@ if (BUILD_LAGOM)
LIBS LagomTLS
)
- # GFX
+ # Gfx
file(GLOB LIBGFX_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGfx/*.cpp")
file(GLOB LIBGFX_TTF_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGfx/TrueTypeFont/*.cpp")
lagom_lib(Gfx gfx
@@ -621,6 +621,12 @@ if (BUILD_LAGOM)
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../Tests/LibTLS)
endforeach()
+ # TTF
+ file(GLOB LIBTTF_TESTS CONFIGURE_DEPENDS "../../Tests/LibTTF/*.cpp")
+ foreach(source ${LIBTTF_TESTS})
+ lagom_test(${source} LIBS LagomGfx)
+ endforeach()
+
# TimeZone
file(GLOB LIBTIMEZONE_TEST_SOURCES CONFIGURE_DEPENDS "../../Tests/LibTimeZone/*.cpp")
foreach(source ${LIBTIMEZONE_TEST_SOURCES})