mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
LibLocale: Move locale test files to the LibLocale folder
This commit is contained in:
parent
43a3471298
commit
b2d2bb43ce
Notes:
sideshowbarker
2024-07-17 07:31:31 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/b2d2bb43ce Pull-request: https://github.com/SerenityOS/serenity/pull/15096 Reviewed-by: https://github.com/linusg ✅
@ -727,7 +727,8 @@ if (BUILD_LAGOM)
|
||||
|
||||
# Unicode
|
||||
file(GLOB LIBUNICODE_TEST_SOURCES CONFIGURE_DEPENDS "../../Tests/LibUnicode/*.cpp")
|
||||
foreach(source ${LIBUNICODE_TEST_SOURCES})
|
||||
file(GLOB LIBLOCALE_TEST_SOURCES CONFIGURE_DEPENDS "../../Tests/LibLocale/*.cpp")
|
||||
foreach(source ${LIBUNICODE_TEST_SOURCES} ${LIBLOCALE_TEST_SOURCES})
|
||||
lagom_test(${source} LIBS LibUnicode)
|
||||
endforeach()
|
||||
|
||||
|
@ -11,6 +11,7 @@ add_subdirectory(LibGfx)
|
||||
add_subdirectory(LibGL)
|
||||
add_subdirectory(LibIMAP)
|
||||
add_subdirectory(LibJS)
|
||||
add_subdirectory(LibLocale)
|
||||
add_subdirectory(LibM)
|
||||
add_subdirectory(LibMarkdown)
|
||||
add_subdirectory(LibPDF)
|
||||
|
11
Tests/LibLocale/CMakeLists.txt
Normal file
11
Tests/LibLocale/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
set(TEST_SOURCES
|
||||
TestDateTimeFormat.cpp
|
||||
TestLocale.cpp
|
||||
)
|
||||
|
||||
foreach(source IN LISTS TEST_SOURCES)
|
||||
serenity_test("${source}" LibLocale LIBS LibUnicode)
|
||||
|
||||
get_filename_component(target "${source}" NAME_WLE)
|
||||
link_with_locale_data("${target}")
|
||||
endforeach()
|
@ -1,7 +1,5 @@
|
||||
set(TEST_SOURCES
|
||||
TestUnicodeCharacterTypes.cpp
|
||||
TestUnicodeDateTimeFormat.cpp
|
||||
TestUnicodeLocale.cpp
|
||||
)
|
||||
|
||||
foreach(source IN LISTS TEST_SOURCES)
|
||||
|
Loading…
Reference in New Issue
Block a user