Skip to content

Truly independent web browser

LibDevTools: Link unit tests into one executable

Timothy Flynnf02cf451cb5a
diff --git a/Tests/LibDevTools/CMakeLists.txt b/Tests/LibDevTools/CMakeLists.txt
index 2634e0afbd4..4cee65139df 100644
--- a/Tests/LibDevTools/CMakeLists.txt
+++ b/Tests/LibDevTools/CMakeLists.txt
@@ -1,8 +1,9 @@
+ladybird_test_suite(LibDevTools)
+
set(TEST_SOURCES
TestDevToolsProtocol.cpp
TestStorageHelpers.cpp
)
-foreach(source IN LISTS TEST_SOURCES)
- ladybird_test("${source}" LibDevTools LIBS LibDevTools LibHTTP LibRequests LibThreading LibWeb LibWebView)
-endforeach()
+target_sources(TestLibDevTools PRIVATE ${TEST_SOURCES})
+target_link_libraries(TestLibDevTools PRIVATE LibDevTools LibHTTP LibRequests LibThreading LibWeb LibWebView)