From 62e7197856bed95c5408f12da8e0a9c478451852 Mon Sep 17 00:00:00 2001 From: Alberto Miranda Date: Tue, 6 Sep 2022 10:50:44 +0200 Subject: [PATCH 1/2] Generate `report.xml` for rpc tests --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d0424c79..55ad07af 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,6 +53,12 @@ rpc: - cd build/examples/ - ctest -j$(nproc) --output-on-failure --output-junit report.xml - pkill -TERM scord + artifacts: + expire_in: 1 week + paths: + - build/tests/report.xml + reports: + junit: build/tests/report.xml # run unit tests unit: -- GitLab From ff8ad8735bb2b2ff6e9e3dbe062528ff5d154ce5 Mon Sep 17 00:00:00 2001 From: Alberto Miranda Date: Tue, 6 Sep 2022 10:55:07 +0200 Subject: [PATCH 2/2] Rename test reports --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 55ad07af..d3b2b0eb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,14 +51,14 @@ rpc: - compiled/bin/scord -f --force-console & - build/examples/cxx/ADM_ping ofi+tcp://127.0.0.1:52000 - cd build/examples/ - - ctest -j$(nproc) --output-on-failure --output-junit report.xml + - ctest -j$(nproc) --output-on-failure --output-junit rpc-report.xml - pkill -TERM scord artifacts: expire_in: 1 week paths: - - build/tests/report.xml + - build/examples/rpc-report.xml reports: - junit: build/tests/report.xml + junit: build/examples/rpc-report.xml # run unit tests unit: @@ -69,10 +69,10 @@ unit: - export LSAN_OPTIONS=verbosity=1:log_threads=1:suppressions=${CI_PROJECT_DIR}/tests/LSanSuppress.supp - export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64:${CI_PROJECT_DIR}/compiled/lib - cd build/tests - - ctest -j$(nproc) --output-on-failure --output-junit report.xml + - ctest -j$(nproc) --output-on-failure --output-junit unit-report.xml artifacts: expire_in: 1 week paths: - - build/tests/report.xml + - build/tests/unit-report.xml reports: - junit: build/tests/report.xml + junit: build/tests/unit-report.xml -- GitLab