Skip to content

Commit

Permalink
Lagom: Execute LibPDF unit tests on the host
Browse files Browse the repository at this point in the history
Add lagom unit tests for `LibPDF`.
  • Loading branch information
swoertz authored and linusg committed Jan 8, 2022
1 parent c857b5d commit 47f4e54
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Meta/Lagom/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47f4e54

Please sign in to comment.