Make unittests in build job

This commit is contained in:
Johannes Lenzen
2021-02-02 16:01:22 +01:00
parent 8b5f4ec615
commit 4be641088f
2 changed files with 3 additions and 3 deletions

View File

@@ -52,6 +52,9 @@ if [ "$IWYU" == "IWYU" ]; then
else else
# build it # build it
make $MAKE_OPTIONS make $MAKE_OPTIONS
# build unittests
make $MAKE_OPTIONS unittests
fi fi
cd .. cd ..

View File

@@ -47,9 +47,6 @@ fi
# Run cmake to make sure the tests are configured correctly for this system # Run cmake to make sure the tests are configured correctly for this system
cmake -DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE -DSTL_VECTOR_CHECKS=ON $OPTIONS ../ cmake -DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE -DSTL_VECTOR_CHECKS=ON $OPTIONS ../
#build the unit tests
make $MAKE_OPTIONS unittests
echo -e "${OUTPUT}" echo -e "${OUTPUT}"
echo "" echo ""
echo "======================================================================" echo "======================================================================"