Branch with enabled unittests for python
This commit is contained in:
@@ -58,7 +58,7 @@ cd ..
|
|||||||
|
|
||||||
# Execute Python unittests
|
# Execute Python unittests
|
||||||
cd Python-Unittests
|
cd Python-Unittests
|
||||||
#python -m unittest discover -v
|
python -m unittest discover -v
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
cd ..
|
cd ..
|
||||||
@@ -76,6 +76,9 @@ cd build-debug-$BUILDPATH
|
|||||||
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=Debug -DOPENMESH_BUILD_UNIT_TESTS=TRUE -DSTL_VECTOR_CHECKS=ON -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=ON $OPTIONS ../
|
cmake -DCMAKE_BUILD_TYPE=Debug -DOPENMESH_BUILD_UNIT_TESTS=TRUE -DSTL_VECTOR_CHECKS=ON -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=ON $OPTIONS ../
|
||||||
|
|
||||||
|
#build it
|
||||||
|
make
|
||||||
|
|
||||||
#build the unit tests
|
#build the unit tests
|
||||||
make unittests
|
make unittests
|
||||||
|
|
||||||
@@ -89,4 +92,12 @@ cd Unittests
|
|||||||
# Run the unittests
|
# Run the unittests
|
||||||
./unittests --gtest_color=yes --gtest_output=xml
|
./unittests --gtest_color=yes --gtest_output=xml
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# Execute Python unittests
|
||||||
|
cd Python-Unittests
|
||||||
|
python -m unittest discover -v
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ cd Python-Unittests
|
|||||||
|
|
||||||
rm -f openmesh.so
|
rm -f openmesh.so
|
||||||
cp ../Build/python/openmesh.so .
|
cp ../Build/python/openmesh.so .
|
||||||
#python -m unittest discover -v
|
python -m unittest discover -v
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
cd ..
|
cd ..
|
||||||
@@ -92,4 +92,4 @@ cd Python-Unittests
|
|||||||
|
|
||||||
rm -f openmesh.so
|
rm -f openmesh.so
|
||||||
cp ../Build/python/openmesh.so .
|
cp ../Build/python/openmesh.so .
|
||||||
#python -m unittest discover -v
|
python -m unittest discover -v
|
||||||
|
|||||||
Reference in New Issue
Block a user