From b390554ad8d140a4d41c6f2cf6b1809f29a3ef51 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Fri, 7 May 2021 03:17:48 -0700 Subject: [PATCH] Tests: Move Userland/Utilities/test-web to Tests/LibWeb --- Tests/CMakeLists.txt | 1 + Tests/LibWeb/CMakeLists.txt | 3 +++ {Userland/Utilities => Tests/LibWeb}/test-web.cpp | 0 Userland/Utilities/CMakeLists.txt | 1 - 4 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Tests/LibWeb/CMakeLists.txt rename {Userland/Utilities => Tests/LibWeb}/test-web.cpp (100%) 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 similarity index 100% rename from Userland/Utilities/test-web.cpp rename to 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)