Skip to content

Commit

Permalink
Add example of running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ruffsl committed May 9, 2020
1 parent 6580782 commit 9964c34
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions release_branch.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,16 @@ ENV OVERLAY_WS $OVERLAY_WS
RUN sed --in-place \
's|^source .*|source "$OVERLAY_WS/install/setup.bash"|' \
/ros_entrypoint.sh

# ARG RUN_TESTS
# ARG FAIL_ON_TEST_FAILURE
# RUN if [ -z "$RUN_TESTS" ]; then \
# colcon test \
# --mixin $OVERLAY_MIXINS \
# --ctest-args --test-regex "test_.*"; \
# if [ -z "$FAIL_ON_TEST_FAILURE" ]; then \
# colcon test-result; \
# else \
# colcon test-result || true; \
# fi \
# fi

0 comments on commit 9964c34

Please sign in to comment.