Update CI with testing framework from eigen_ci_cross_testing.

This commit is contained in:
Antonio Sánchez
2024-01-19 17:55:09 +00:00
committed by Rasmus Munk Larsen
parent b2814d53a7
commit 34fd46a9b4
21 changed files with 1208 additions and 504 deletions

View File

@@ -0,0 +1,19 @@
#!/bin/bash
set -x
# Enter build directory.
rootdir=`pwd`
cd ${EIGEN_CI_BUILDDIR}
# Install xml processor.
apt-get update -y
apt-get install --no-install-recommends -y xsltproc
# Generate test results.
xsltproc ${rootdir}/ci/CTest2JUnit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > "JUnitTestResults_$CI_JOB_ID.xml"
# Return to root directory.
cd ${rootdir}
set +x