From aa609de2d1afeb8f99ae1630f9274e8f18a6cfea Mon Sep 17 00:00:00 2001 From: Sulverus <sulverus@gmail.com> Date: Tue, 9 Jun 2015 16:57:42 +0300 Subject: [PATCH] cmake for tests updated: copy ctl config in builddir --- test/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 466cceaf2d..75ad740b09 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -15,5 +15,14 @@ add_custom_target(test-force add_subdirectory(app) add_subdirectory(unit) + +# Move tarantoolctl config +if (NOT ${PROJECT_BINARY_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) + configure_file( + "${PROJECT_SOURCE_DIR}/test/.tarantoolctl" + "${PROJECT_BINARY_DIR}/test/.tarantoolctl" + ) +endif() + # Disable connector_c for 1.6 #add_subdirectory(connector_c) -- GitLab