From d8454df5aff1fdb7601801411f4d2f00f8199539 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Thu, 12 Aug 2021 15:54:43 +0200 Subject: [PATCH] Add rampgen as a dependency of tests --- tests/unit/modules/motion/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/modules/motion/CMakeLists.txt b/tests/unit/modules/motion/CMakeLists.txt index c9f8096..9f439cb 100644 --- a/tests/unit/modules/motion/CMakeLists.txt +++ b/tests/unit/modules/motion/CMakeLists.txt @@ -14,6 +14,7 @@ add_catch_test(motion_tests) # ramp generation tests add_executable(rampgen ${source_common} rampgen.cpp) target_include_directories(rampgen PUBLIC ${include_common}) +add_dependencies(tests rampgen) add_test(NAME motion::rampgen COMMAND rampgen ramp_data.txt) add_test(NAME motion::test_motion_ramp COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/test_motion_ramp.py