summaryrefslogtreecommitdiff
path: root/pilz-industrial-motion-planner-remove-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pilz-industrial-motion-planner-remove-test.patch')
-rw-r--r--pilz-industrial-motion-planner-remove-test.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/pilz-industrial-motion-planner-remove-test.patch b/pilz-industrial-motion-planner-remove-test.patch
new file mode 100644
index 0000000..3965882
--- /dev/null
+++ b/pilz-industrial-motion-planner-remove-test.patch
@@ -0,0 +1,41 @@
+diff -Naur ros-humble-pilz-industrial-motion-planner-2.5.4_org/CMakeLists.txt ros-humble-pilz-industrial-motion-planner-2.5.4/CMakeLists.txt
+--- ros-humble-pilz-industrial-motion-planner-2.5.4_org/CMakeLists.txt 2023-05-11 09:16:18.329010364 +0800
++++ ros-humble-pilz-industrial-motion-planner-2.5.4/CMakeLists.txt 2023-05-11 09:17:20.321388212 +0800
+@@ -195,21 +195,21 @@
+ ament_export_targets(${PROJECT_NAME}Targets HAS_LIBRARY_TARGET)
+ ament_export_dependencies(${THIS_PACKAGE_INCLUDE_DEPENDS} orocos_kdl_vendor)
+
+-if(BUILD_TESTING)
+- # Include Tests
+- add_subdirectory(test)
+-
+- find_package(ament_lint_auto REQUIRED)
+-
+- # These don't pass yet, disable them for now
+- set(ament_cmake_copyright_FOUND TRUE)
+- set(ament_cmake_cpplint_FOUND TRUE)
+- set(ament_cmake_flake8_FOUND TRUE)
+- set(ament_cmake_uncrustify_FOUND TRUE)
+- set(ament_cmake_lint_cmake_FOUND TRUE)
+-
+- # Run all lint tests in package.xml except those listed above
+- ament_lint_auto_find_test_dependencies()
+-endif()
++#if(BUILD_TESTING)
++# # Include Tests
++# add_subdirectory(test)
++#
++# find_package(ament_lint_auto REQUIRED)
++#
++# # These don't pass yet, disable them for now
++# set(ament_cmake_copyright_FOUND TRUE)
++# set(ament_cmake_cpplint_FOUND TRUE)
++# set(ament_cmake_flake8_FOUND TRUE)
++# set(ament_cmake_uncrustify_FOUND TRUE)
++# set(ament_cmake_lint_cmake_FOUND TRUE)
++#
++# # Run all lint tests in package.xml except those listed above
++# ament_lint_auto_find_test_dependencies()
++#endif()
+
+ ament_package()