1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 20:57:44 +00:00

LibTimeZone: Add a unit test for generated time zone data

This commit is contained in:
Timothy Flynn 2022-01-10 12:22:47 -05:00 committed by Linus Groh
parent ccce9e5c7f
commit b493c2ca90
4 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,10 @@
set(TEST_SOURCES
TestTimeZone.cpp
)
foreach(source IN LISTS TEST_SOURCES)
serenity_test("${source}" LibTimeZone LIBS LibTimeZone)
get_filename_component(target "${source}" NAME_WLE)
target_compile_definitions("${target}" PRIVATE ENABLE_TIME_ZONE_DATA=$<BOOL:${ENABLE_TIME_ZONE_DATABASE_DOWNLOAD}>)
endforeach()