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
#execute tests
./unittests --gtest_color=yes --gtest_output="xml:report.xml"
./unittests --gtest_color=yes --gtest_output=xml:./report.xml
echo -e "${OUTPUT}"
echo ""
@@ -51,7 +51,7 @@ echo "Running unittests $BUILD_TYPE version with custom vector type"
echo "======================================================================"
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 ""
@@ -61,7 +61,10 @@ echo "======================================================================"
echo -e "${NC}"
#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 ..