mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
58797a1289
Using a file(GLOB) to find all the test files in a directory is an easy hack to get things started, but has some drawbacks. Namely, if you add a test, it won't be found again without re-running CMake. `ninja` seems to do this automatically, but it would be nice to one day stop seeing it rechecking our globbed directories.
9 lines
185 B
CMake
9 lines
185 B
CMake
set(TEST_SOURCES
|
|
TestDeflate.cpp
|
|
TestGzip.cpp
|
|
TestZlib.cpp
|
|
)
|
|
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
serenity_test("${source}" LibCompress LIBS LibCompress)
|
|
endforeach()
|