File tree Expand file tree Collapse file tree 4 files changed +3
-12
lines changed
nav2_behavior_tree/test/plugins/condition Expand file tree Collapse file tree 4 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class InitialPoseReceivedConditionTestFixture : public nav2_behavior_tree::Behav
26
26
public:
27
27
void SetUp ()
28
28
{
29
- config_->input_ports [" initial_pose_received" ] = 0 ;
29
+ config_->input_ports [" initial_pose_received" ] = false ;
30
30
bt_node_ = std::make_shared<nav2_behavior_tree::InitialPoseReceived>(" TestNode" , *config_);
31
31
}
32
32
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ macro(nav2_package)
37
37
endif ()
38
38
39
39
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
40
- add_compile_options (-Wall -Wextra -Wpedantic -Wdeprecated -fPIC -Wshadow -Wnull-dereference )
40
+ add_compile_options (-Wall -Wextra -Wpedantic -Werror - Wdeprecated -fPIC -Wshadow -Wnull-dereference )
41
41
add_compile_options ("$<$<COMPILE_LANGUAGE:CXX>:-Wnon-virtual-dtor>" )
42
42
endif ()
43
43
Original file line number Diff line number Diff line change @@ -147,15 +147,6 @@ install(DIRECTORY include/
147
147
148
148
install (DIRECTORY launch DESTINATION share/${PROJECT_NAME} )
149
149
150
- if (BUILD_TESTING )
151
- find_package (ament_lint_auto REQUIRED )
152
- # the following line skips the linter which checks for copyrights
153
- set (ament_cmake_copyright_FOUND TRUE )
154
- ament_lint_auto_find_test_dependencies ()
155
-
156
- find_package (ament_cmake_gtest REQUIRED )
157
- add_subdirectory (test )
158
- endif ()
159
150
160
151
ament_export_include_directories (include )
161
152
ament_export_libraries (
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if(NOT CMAKE_CXX_STANDARD)
7
7
endif ()
8
8
9
9
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
10
- add_compile_options (-Wall -Wextra -Wpedantic )
10
+ add_compile_options (-Wall -Wextra -Wpedantic -Werror )
11
11
endif ()
12
12
13
13
# Qt5 boilerplate options from http://doc.qt.io/qt-5/cmake-manual.html
You can’t perform that action at this time.
0 commit comments