Skip to content
Snippets Groups Projects
Commit 6bb93936 authored by Daniel Agar's avatar Daniel Agar
Browse files

cmake use ${PYTHON_EXECUTABLE} for mixer test

 - needed for code coverage of python scripts
parent b9516d7e
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ if(BUILD_TESTING)
target_compile_options(test_mixer_multirotor PRIVATE -Wno-unused-result)
add_test(NAME mixer_multirotor
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/mixer_multirotor.py --test --mixer-multirotor-binary $<TARGET_FILE:test_mixer_multirotor>
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/mixer_multirotor.py --test --mixer-multirotor-binary $<TARGET_FILE:test_mixer_multirotor>
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment