Commit a04d46d6 authored by Jan Möbius's avatar Jan Möbius

Enabled python tests on mac

parent 6b24398f
Pipeline #136 canceled with stage
......@@ -28,7 +28,7 @@ fi
cd build-release
cmake -DCMAKE_BUILD_TYPE=Release -DOPENMESH_BUILD_UNIT_TESTS=TRUE $OPTIONS ../
cmake -DCMAKE_BUILD_TYPE=Release -DOPENMESH_BUILD_UNIT_TESTS=TRUE -DSTL_VECTOR_CHECKS=ON -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=ON $OPTIONS ../
#build it
make
......@@ -45,6 +45,14 @@ cd Unittests
#execute tests
./unittests --gtest_color=yes --gtest_output=xml
# Execute Python unittests
cd Python-Unittests
rm -f openmesh.so
cp ../Build/python/openmesh.so .
python -m unittest discover -v
cd ..
cd ..
cd ..
......@@ -59,7 +67,7 @@ fi
cd build-debug
cmake -DCMAKE_BUILD_TYPE=Debug -DOPENMESH_BUILD_UNIT_TESTS=TRUE $OPTIONS ../
cmake -DCMAKE_BUILD_TYPE=Debug -DOPENMESH_BUILD_UNIT_TESTS=TRUE -DSTL_VECTOR_CHECKS=ON -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=ON $OPTIONS ../
#build the unit tests
make unittests
......@@ -74,4 +82,9 @@ cd Unittests
# Run the unittests
./unittests --gtest_color=yes --gtest_output=xml
# Execute Python unittests
cd Python-Unittests
rm -f openmesh.so
cp ../Build/python/openmesh.so .
python -m unittest discover -v
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment