summaryrefslogtreecommitdiff
path: root/source/test/integration/find_package
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-06-24 09:09:40 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-06-24 09:09:40 +0200
commit621479eec199277aa834eeeb20e249a3570fe669 (patch)
tree9725cb5726517e643271ed54c927d439665d0b6e /source/test/integration/find_package
parent14c623de3f49043f950b09d1799f1fbab76bd279 (diff)
downloadkit-621479eec199277aa834eeeb20e249a3570fe669.zip
Remove integration tests; Update docs
Diffstat (limited to 'source/test/integration/find_package')
-rw-r--r--source/test/integration/find_package/.gitignore2
-rw-r--r--source/test/integration/find_package/CMakeLists.txt34
-rw-r--r--source/test/integration/find_package/source/CMakeLists.txt10
-rw-r--r--source/test/integration/find_package/source/main.c7
4 files changed, 0 insertions, 53 deletions
diff --git a/source/test/integration/find_package/.gitignore b/source/test/integration/find_package/.gitignore
deleted file mode 100644
index 0ba45dd..0000000
--- a/source/test/integration/find_package/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/build/
-/install/
diff --git a/source/test/integration/find_package/CMakeLists.txt b/source/test/integration/find_package/CMakeLists.txt
deleted file mode 100644
index f21cdae..0000000
--- a/source/test/integration/find_package/CMakeLists.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-cmake_minimum_required(VERSION 3.16)
-set(NAME kit-integration-find-package)
-project(${NAME}-root)
-
-include(ExternalProject)
-
-ExternalProject_Add(
- kit
- GIT_REPOSITORY https://github.com/automainint/kit.git
- GIT_TAG dev
- CMAKE_ARGS
- -D CMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_SOURCE_DIR}/install
- -D KIT_ENABLE_TESTING=OFF)
-
-ExternalProject_Add(
- ${NAME}
- SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/source
- CMAKE_ARGS
- -D CMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_SOURCE_DIR}/install)
-
-ExternalProject_Add_StepDependencies(${NAME} build kit)
-
-include(GNUInstallDirs)
-
-enable_testing()
-
-add_test(
- NAME ${NAME}-run
- COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/install/${CMAKE_INSTALL_BINDIR}/${NAME}${CMAKE_EXECUTABLE_SUFFIX})
-
-set_tests_properties(
- ${NAME}-run
- PROPERTIES
- TIMEOUT "15")
diff --git a/source/test/integration/find_package/source/CMakeLists.txt b/source/test/integration/find_package/source/CMakeLists.txt
deleted file mode 100644
index 2dc34a1..0000000
--- a/source/test/integration/find_package/source/CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-cmake_minimum_required(VERSION 3.16)
-set(NAME kit-integration-find-package)
-project(${NAME} C)
-
-find_package(kit REQUIRED)
-
-add_executable(${NAME})
-target_sources(${NAME} PRIVATE main.c)
-target_link_libraries(${NAME} PRIVATE kit::kit)
-install(TARGETS ${NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
diff --git a/source/test/integration/find_package/source/main.c b/source/test/integration/find_package/source/main.c
deleted file mode 100644
index 60d4f1d..0000000
--- a/source/test/integration/find_package/source/main.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <kit/async_function.h>
-#include <kit/dynamic_array.h>
-#include <kit/input_buffer.h>
-
-int main() {
- return 0;
-}