Skip to content

Commit

Permalink
Fix missing renaming (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
agutenkunst committed Oct 6, 2021
1 parent a06d5d1 commit 70cb58b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions industrial_ci/src/tests/source_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function run_source_tests {
TARGET_CMAKE_ARGS="$TARGET_CMAKE_ARGS -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
fi
if [ -n "$CODE_COVERAGE" ]; then
ici_run "install_coveragepy" ici_install_pkgs_for_command coverage "$PYTHON_VERSION_NAME-coverage"
ici_step "install_coveragepy" ici_install_pkgs_for_command coverage "$PYTHON_VERSION_NAME-coverage"
TARGET_CMAKE_ARGS="$TARGET_CMAKE_ARGS -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS='--coverage' -DCMAKE_CXX_FLAGS='--coverage'"
export CATKIN_TEST_COVERAGE=1
fi
Expand Down Expand Up @@ -210,7 +210,7 @@ function run_source_tests {
fi

if [ -n "${CODE_COVERAGE}" ]; then
ici_run "collect_target_coverage_report" ici_collect_coverage_report "$target_ws"
ici_step "collect_target_coverage_report" ici_collect_coverage_report "$target_ws"
fi

extend="$(ici_extend_space "$target_ws")"
Expand Down
2 changes: 1 addition & 1 deletion industrial_ci/src/workspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ function ici_test_workspace {
local ws=$1; shift

if [ "${name}" = "target" ] && [ -n "$CODE_COVERAGE" ] && [ "$BUILDER" = "colcon" ]; then
ici_run "run_${name}_test_with_coverage" builder_run_tests_with_coverage "$extend" "$ws"
ici_step "run_${name}_test_with_coverage" builder_run_tests_with_coverage "$extend" "$ws"
else
ici_step "run_${name}_test" builder_run_tests "$extend" "$ws"
fi
Expand Down

0 comments on commit 70cb58b

Please sign in to comment.