summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-05-07 03:17:48 -0700
committerLinus Groh <mail@linusgroh.de>2021-05-08 00:04:10 +0100
commitb390554ad8d140a4d41c6f2cf6b1809f29a3ef51 (patch)
tree2c8a132823daa8a36b4ad30850ab796f0cf830fd
parent284730c0027d0afd11b259191c37206eb0a83728 (diff)
downloadserenity-b390554ad8d140a4d41c6f2cf6b1809f29a3ef51.zip
Tests: Move Userland/Utilities/test-web to Tests/LibWeb
-rw-r--r--Tests/CMakeLists.txt1
-rw-r--r--Tests/LibWeb/CMakeLists.txt3
-rw-r--r--Tests/LibWeb/test-web.cpp (renamed from Userland/Utilities/test-web.cpp)0
-rw-r--r--Userland/Utilities/CMakeLists.txt1
4 files changed, 4 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 664aa9873e..729536a728 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -7,4 +7,5 @@ add_subdirectory(LibM)
add_subdirectory(LibPthread)
add_subdirectory(LibRegex)
add_subdirectory(LibSQL)
+add_subdirectory(LibWeb)
add_subdirectory(UserspaceEmulator)
diff --git a/Tests/LibWeb/CMakeLists.txt b/Tests/LibWeb/CMakeLists.txt
new file mode 100644
index 0000000000..7206b199f7
--- /dev/null
+++ b/Tests/LibWeb/CMakeLists.txt
@@ -0,0 +1,3 @@
+add_executable(test-web test-web.cpp)
+target_link_libraries(test-web LibCore LibWeb)
+install(TARGETS ${CMD_NAME} RUNTIME DESTINATION bin)
diff --git a/Userland/Utilities/test-web.cpp b/Tests/LibWeb/test-web.cpp
index 1b963835de..1b963835de 100644
--- a/Userland/Utilities/test-web.cpp
+++ b/Tests/LibWeb/test-web.cpp
diff --git a/Userland/Utilities/CMakeLists.txt b/Userland/Utilities/CMakeLists.txt
index 2a6fc7843f..67a7056742 100644
--- a/Userland/Utilities/CMakeLists.txt
+++ b/Userland/Utilities/CMakeLists.txt
@@ -47,7 +47,6 @@ target_link_libraries(test-crypto LibCrypto LibTLS LibLine)
target_link_libraries(test-fuzz LibCore LibGemini LibGfx LibHTTP LibIPC LibJS LibMarkdown LibShell)
target_link_libraries(test-js LibJS LibLine LibCore)
target_link_libraries(test-pthread LibThread)
-target_link_libraries(test-web LibWeb)
target_link_libraries(tt LibPthread)
target_link_libraries(grep LibRegex)
target_link_libraries(zip LibArchive LibCompress LibCrypto)