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:
parent
ccce9e5c7f
commit
b493c2ca90
4 changed files with 69 additions and 0 deletions
10
Tests/LibTimeZone/CMakeLists.txt
Normal file
10
Tests/LibTimeZone/CMakeLists.txt
Normal 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()
|
Loading…
Add table
Add a link
Reference in a new issue