Try to show test results in gitlab
This commit is contained in:
@@ -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 ..
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user