Skip to content
Snippets Groups Projects
Commit 2c1b6c94 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Test once with junit output (as with ArmarXCore), do not cat the (extremely long) test log

parent 53ea3d3a
No related branches found
No related tags found
No related merge requests found
...@@ -62,11 +62,7 @@ stages: ...@@ -62,11 +62,7 @@ stages:
# Test. # Test.
# ToDo: Add and use `axii ws test -m simox` # ToDo: Add and use `axii ws test -m simox`
- cd "$PROJECT_PATH_IN_WORKSPACE/build" - cd "$PROJECT_PATH_IN_WORKSPACE/build"
- ctest . || true - ctest --output-on-failure --output-junit "$CI_PROJECT_DIR/report.xml" .
- ctest --rerun-failed --output-on-failure . || true
- cat Testing/Temporary/LastTest.log || true
# Once again to make the job fail if an error occurs.
- ctest .
# Generate documentation. # Generate documentation.
- cd "$PROJECT_PATH_IN_WORKSPACE/build" - cd "$PROJECT_PATH_IN_WORKSPACE/build"
...@@ -82,6 +78,9 @@ build-and-test-bionic: ...@@ -82,6 +78,9 @@ build-and-test-bionic:
image: git.h2t.iar.kit.edu:5050/sw/armarx/meta/axii:latest-bionic image: git.h2t.iar.kit.edu:5050/sw/armarx/meta/axii:latest-bionic
artifacts: artifacts:
reports:
junit: report.xml
name: "Simox-Documentation-$CI_COMMIT_REF_NAME" name: "Simox-Documentation-$CI_COMMIT_REF_NAME"
paths: paths:
- build/doc/html/ - build/doc/html/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment