From b98ee0aa27da381d7f8152e3a2d645ffcb88a355 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Tue, 8 Sep 2020 16:49:10 -0400 Subject: [PATCH] Increase the ament_cppcheck timeout to 5 minutes. (#271) This will avoid timeouts on some slower platforms that we've started to see. Signed-off-by: Chris Lalancette --- ament_cmake_cppcheck/cmake/ament_cppcheck.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ament_cmake_cppcheck/cmake/ament_cppcheck.cmake b/ament_cmake_cppcheck/cmake/ament_cppcheck.cmake index 0c11d7418..ca96edd6f 100644 --- a/ament_cmake_cppcheck/cmake/ament_cppcheck.cmake +++ b/ament_cmake_cppcheck/cmake/ament_cppcheck.cmake @@ -61,7 +61,7 @@ function(ament_cppcheck) ament_add_test( "${ARG_TESTNAME}" COMMAND ${cmd} - TIMEOUT 180 + TIMEOUT 300 OUTPUT_FILE "${CMAKE_BINARY_DIR}/ament_cppcheck/${ARG_TESTNAME}.txt" RESULT_FILE "${result_file}" WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"