Skip to content
Snippets Groups Projects
Unverified Commit 2e28e23a authored by Carl Delsey's avatar Carl Delsey Committed by GitHub
Browse files

Attempt to filter out generated message files from code coverage. (#1340)

* Attempt to filter out generated message files from code coverage.

* Reduce the number of tests run in Travis to just a single test.

* Filter specific msg packages instead of ros_idl... directories.

* Fixing a typo in the nav_2d_msgs package name.
parent d8b8a9a0
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,12 @@ lcov \
lcov \
--remove ${LCOVDIR}/workspace_coverage.info \
"${PWD}/build/*" \
--remove ${LCOVDIR}/workspace_coverage.info \
"${PWD}/*/dwb_msgs/*" \
--remove ${LCOVDIR}/workspace_coverage.info \
"${PWD}/*/nav2_msgs/*" \
--remove ${LCOVDIR}/workspace_coverage.info \
"${PWD}/*/nav_2d_msgs/*" \
--output-file ${LCOVDIR}/project_coverage.info \
--rc lcov_branch_coverage=1
......@@ -82,4 +88,4 @@ elif [ $COVERAGE_REPORT_VIEW = genhtml ]; then
genhtml ${LCOVDIR}/project_coverage.info \
--output-directory ${LCOVDIR}/html \
--branch-coverage -p ${PWD}
fi
\ No newline at end of file
fi
......@@ -19,10 +19,10 @@ colcon test --packages-select nav2_system_tests --ctest-args --exclude-regex "te
# that happened in any of the `colcon test` lines above.
colcon test-result --verbose
$SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_localization$
$SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_planner_costmaps$
$SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_planner_random$
$SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_bt_navigator$
$SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_bt_navigator_with_dijkstra$
# $SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_localization$
# $SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_planner_costmaps$
# $SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_planner_random$
# $SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_bt_navigator$
# $SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_bt_navigator_with_dijkstra$
$SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_dynamic_obstacle$
$SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_multi_robot$
# $SCRIPT_DIR/ctest_retry.bash -r 3 -d build/nav2_system_tests -t test_multi_robot$
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment