Try to show test results in gitlab

This commit is contained in:
Jan Möbius
2020-05-25 13:08:27 +02:00
parent b4c6920f6a
commit d6d413febd
2 changed files with 9 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ echo -e "${NC}"
cd Unittests cd Unittests
#execute tests #execute tests
./unittests --gtest_color=yes --gtest_output="xml:report.xml" ./unittests --gtest_color=yes --gtest_output=xml:./report.xml
echo -e "${OUTPUT}" echo -e "${OUTPUT}"
echo "" echo ""
@@ -51,7 +51,7 @@ echo "Running unittests $BUILD_TYPE version with custom vector type"
echo "======================================================================" echo "======================================================================"
echo -e "${NC}" echo -e "${NC}"
./unittests_customvec --gtest_color=yes --gtest_output="xml:report-customvec.xml" ./unittests_customvec --gtest_color=yes --gtest_output=xml:./report-customvec.xml
echo -e "${OUTPUT}" echo -e "${OUTPUT}"
echo "" echo ""
@@ -61,7 +61,10 @@ echo "======================================================================"
echo -e "${NC}" echo -e "${NC}"
#execute tests #execute tests
./unittests_doublevec --gtest_color=yes --gtest_output="xml:report-doublevec.xml" ./unittests_doublevec --gtest_color=yes --gtest_output=xml:./report-doublevec.xml
pwd
ls *.xml
cd .. cd ..
cd .. cd ..

View File

@@ -14,7 +14,7 @@ test-{{BUILDTYPE}}-{{COMPILER}}-{{LANGUAGE}}:
artifacts: artifacts:
reports: reports:
junit: junit:
report.xml */Unittests/report.xml
report-customvec.xml */Unittests/report-customvec.xml
report-doublevec.xml */Unittests/report-doublevec.xml