From 349cf42902b67ca495a75584cd766f8a48f5f56f Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 17 Dec 2023 10:16:21 -0500 Subject: [PATCH] Move autotests directory to repository root --- CMakeLists.txt | 4 ++++ {launcher/autotests => autotests}/CMakeLists.txt | 0 {launcher/autotests => autotests}/patchlisttest.cpp | 0 launcher/CMakeLists.txt | 4 ---- 4 files changed, 4 insertions(+), 4 deletions(-) rename {launcher/autotests => autotests}/CMakeLists.txt (100%) rename {launcher/autotests => autotests}/patchlisttest.cpp (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index a24cf12..a5b9efa 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,6 +70,10 @@ find_package(QuaZip-Qt6 REQUIRED) add_subdirectory(external) add_subdirectory(launcher) +if (BUILD_TESTING) + add_subdirectory(autotests) +endif() + install(FILES zone.xiv.astra.desktop DESTINATION ${KDE_INSTALL_APPDIR}) install(FILES zone.xiv.astra.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) install(FILES zone.xiv.astra.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps) diff --git a/launcher/autotests/CMakeLists.txt b/autotests/CMakeLists.txt similarity index 100% rename from launcher/autotests/CMakeLists.txt rename to autotests/CMakeLists.txt diff --git a/launcher/autotests/patchlisttest.cpp b/autotests/patchlisttest.cpp similarity index 100% rename from launcher/autotests/patchlisttest.cpp rename to autotests/patchlisttest.cpp diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index 37b14d8..518ea4e 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -176,7 +176,3 @@ if (WIN32) COMMAND "${WINDEPLOYQT_ENV_SETUP}" && "${WINDEPLOYQT_EXECUTABLE}" \"$\" ) endif () - -if (BUILD_TESTING) - add_subdirectory(autotests) -endif()