Lagom: Execute LibPDF unit tests on the host

Add lagom unit tests for `LibPDF`.
This commit is contained in:
Simon Woertz 2021-11-21 20:24:19 +01:00 committed by Linus Groh
parent c857b5d22f
commit 47f4e54cdc
Notes: sideshowbarker 2024-07-17 21:25:02 +09:00

View file

@ -548,6 +548,12 @@ if (BUILD_LAGOM)
lagom_test(${source} LIBS LagomGL)
endforeach()
# PDF
file(GLOB LIBPDF_TESTS CONFIGURE_DEPENDS "../../Tests/LibPDF/*.cpp")
foreach(source ${LIBPDF_TESTS})
lagom_test(${source} LIBS LagomPDF WORKING_DIRECTORY ${SERENITY_PROJECT_ROOT}/Base/home/anon/Documents/pdf/)
endforeach()
# Regex
file(GLOB LIBREGEX_TESTS CONFIGURE_DEPENDS "../../Tests/LibRegex/*.cpp")
# RegexLibC test POSIX <regex.h> and contains many Serenity extensions