Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
roscontrol_sot
Commits
353d339b
Commit
353d339b
authored
Dec 07, 2021
by
Guilhem Saurel
Browse files
[Tests] Only check for python 3
parent
115db791
Pipeline
#17067
failed with stage
in 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/CMakeLists.txt
View file @
353d339b
...
...
@@ -32,7 +32,9 @@ TARGET_INCLUDE_DIRECTORIES(${CONTROLLER_NAME} SYSTEM PUBLIC
TARGET_LINK_LIBRARIES
(
${
CONTROLLER_NAME
}
${
DEVICE_NAME
}
)
INSTALL
(
TARGETS
${
CONTROLLER_NAME
}
DESTINATION lib
)
ADD_EXECUTABLE
(
sot-test-log sot-test-log.cc
)
TARGET_LINK_LIBRARIES
(
sot-test-log rcsot_controller
)
IF
(
${
PYTHON_VERSION
}
GREATER 2
)
ADD_EXECUTABLE
(
sot-test-log sot-test-log.cc
)
TARGET_LINK_LIBRARIES
(
sot-test-log rcsot_controller
)
ADD_PYTHON_UNIT_TEST
(
"py-test-log"
"tests/test_log.py"
"python"
)
ADD_PYTHON_UNIT_TEST
(
"py-test-log"
"tests/test_log.py"
"python"
)
ENDIF
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment