summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2023-01-09 22:29:39 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2023-01-14 15:43:27 -0700
commit0687a75eaaf7b639133283b19711d80222647b1b (patch)
treef98918ecf39924d5c252c86b5faead7877f9bf8a /Meta
parent79b9dd6248b03c719d3c3a2f8bd0f48d12280610 (diff)
downloadserenity-0687a75eaaf7b639133283b19711d80222647b1b.zip
LibWeb: Run tests in lagom if ENABLE_LAGOM_LIBWEB is set
Diffstat (limited to 'Meta')
-rw-r--r--Meta/Lagom/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt
index 50b3ee35fb..a143b030c1 100644
--- a/Meta/Lagom/CMakeLists.txt
+++ b/Meta/Lagom/CMakeLists.txt
@@ -662,6 +662,16 @@ if (BUILD_LAGOM)
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../Tests/LibVideo)
endforeach()
+ # Web
+ if (ENABLE_LAGOM_LIBWEB)
+ file(COPY "${SERENITY_PROJECT_ROOT}/Tests/LibWeb/tokenizer-test.html" DESTINATION "./")
+ file(GLOB LIBWEB_TEST_SOURCES CONFIGURE_DEPENDS "../../Tests/LibWeb/*.cpp")
+ foreach(source ${LIBWEB_TEST_SOURCES})
+ lagom_test(${source} LIBS LibWeb
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../Tests/LibWeb)
+ endforeach()
+ endif()
+
# JavaScriptTestRunner + LibTest tests
# test-js
add_executable(test-js