[Tarantool-patches] [PATCH] test: adjust the path to LuaJIT test directory

Igor Munkin imun at tarantool.org
Fri Oct 16 15:12:40 MSK 2020


To ease the further maintenance of the tests located in LuaJIT repo,
particular hardcoded paths are replaced with the root path to test
directory within LuaJIT third party submodule.

Closes #5425

Signed-off-by: Igor Munkin <imun at tarantool.org>
---
 test/CMakeLists.txt | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 7b28e2bd4..10882c6a1 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -75,9 +75,8 @@ add_subdirectory(app-tap)
 add_subdirectory(box)
 add_subdirectory(box-tap)
 add_subdirectory(unit)
-add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/luajit/test/gh-4427-ffi-sandwich ${PROJECT_BINARY_DIR}/third_party/luajit/test/gh-4427-ffi-sandwich)
-add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/luajit/test/lj-flush-on-trace ${PROJECT_BINARY_DIR}/third_party/luajit/test/lj-flush-on-trace)
-add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/luajit/test/misclib-getmetrics-capi ${PROJECT_BINARY_DIR}/third_party/luajit/test/misclib-getmetrics-capi)
+add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/luajit/test
+                 ${PROJECT_BINARY_DIR}/third_party/luajit/test)
 
 # Move tarantoolctl config
 if (NOT ${PROJECT_BINARY_DIR} STREQUAL ${PROJECT_SOURCE_DIR})
-- 
2.25.0



More information about the Tarantool-patches mailing list