From e6f0e2164bb56c2a623ea78b2bc0c5468fb80b1f Mon Sep 17 00:00:00 2001 From: Shingo Kitagawa Date: Tue, 31 May 2022 17:46:19 +0900 Subject: [PATCH] suppress warning and line breaks from run_tests output --- travis.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/travis.sh b/travis.sh index becf753..4901f60 100755 --- a/travis.sh +++ b/travis.sh @@ -459,15 +459,17 @@ if [ -z $TRAVIS_JOB_ID ] || [ ! -z $GITHUB_RUN_ID ] ; then # suppressing the output # - https://github.com/catkin/catkin_tools/issues/405 # - https://github.com/ros-planning/moveit_ci/pull/18 + # - https://github.com/catkin/catkin_tools/issues/405#issuecomment-573753780 #catkin run_tests -i --no-deps --no-status $TEST_PKGS $CATKIN_PARALLEL_TEST_JOBS --make-args $ROS_PARALLEL_TEST_JOBS $CMAKE_ARGS_FLAGS -- - catkin build --catkin-make-args run_tests -- -i --no-deps --no-status $TEST_PKGS $CATKIN_PARALLEL_TEST_JOBS --make-args $ROS_PARALLEL_TEST_JOBS $CMAKE_ARGS_FLAGS -- + catkin build --catkin-make-args run_tests -- -i --no-deps --no-status $TEST_PKGS $CATKIN_PARALLEL_TEST_JOBS --make-args $ROS_PARALLEL_TEST_JOBS $CMAKE_ARGS_FLAGS -- | sed '/^[[:space:]]*$/d;/Linked/d;/Scanning/d;/Built target/d;/Symlinking/d;/Removing/d' else # on Travis # suppressing the output # - https://github.com/catkin/catkin_tools/issues/405 # - https://github.com/ros-planning/moveit_ci/pull/18 + # - https://github.com/catkin/catkin_tools/issues/405#issuecomment-573753780 #travis_wait 60 catkin run_tests -i --no-deps --no-status $TEST_PKGS $CATKIN_PARALLEL_TEST_JOBS --make-args $ROS_PARALLEL_TEST_JOBS $CMAKE_ARGS_FLAGS -- - travis_wait 60 catkin build --catkin-make-args run_tests -- -i --no-deps --no-status $TEST_PKGS $CATKIN_PARALLEL_TEST_JOBS --make-args $ROS_PARALLEL_TEST_JOBS $CMAKE_ARGS_FLAGS -- + travis_wait 60 catkin build --catkin-make-args run_tests -- -i --no-deps --no-status $TEST_PKGS $CATKIN_PARALLEL_TEST_JOBS --make-args $ROS_PARALLEL_TEST_JOBS $CMAKE_ARGS_FLAGS -- | sed '/^[[:space:]]*$/d;/Linked/d;/Scanning/d;/Built target/d;/Symlinking/d;/Removing/d' fi travis_time_end