Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c47785f3 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

Get rid of xsltproc because ctest now has an option for junit reports

parent 34e01580
No related branches found
No related tags found
No related merge requests found
...@@ -7,8 +7,6 @@ Find: ...@@ -7,8 +7,6 @@ Find:
paths: paths:
- build - build
reports: reports:
junit: report.xml junit: build/report.xml
script: script:
- modules/find/tests/run_ctest.sh - modules/find/tests/run_ctest.sh
after_script:
- xsltproc -o report.xml /home/gitlab/ctest-to-junit.xsl build/Testing/**/Test.xml
#!/bin/bash #!/bin/bash
set -ex
# env. var. CI_PROJECT_DIR required cmake -B build -S ./modules/find/tests \
[ -z "$CI_PROJECT_DIR" ] && echo "Variable CI_PROJECT_DIR must be set to execute this script." && exit 1 -DENABLE_CTEST=ON \
-DLAPACKE_COMPONENTS="TMG" \
mkdir -p build -DQUARK_COMPONENTS="HWLOC" \
cd build -DCMAKE_PREFIX_PATH="$PARSEC_DIR"
ctest --test-dir build --no-compress-output --verbose --output-junit report.xml
cmake $CI_PROJECT_DIR/modules/find/tests -DENABLE_CTEST=ON -DLAPACKE_COMPONENTS="TMG" -DQUARK_COMPONENTS="HWLOC" -DCMAKE_PREFIX_PATH="$PARSEC_DIR"
ctest --no-compress-output -T Test -V
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