Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenMesh
OpenMesh
Commits
a04d46d6
Commit
a04d46d6
authored
Nov 25, 2015
by
Jan Möbius
Browse files
Enabled python tests on mac
parent
6b24398f
Pipeline
#136
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CI/ci-mac.sh
View file @
a04d46d6
...
@@ -28,7 +28,7 @@ fi
...
@@ -28,7 +28,7 @@ fi
cd
build-release
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
#build it
make
make
...
@@ -45,6 +45,14 @@ cd Unittests
...
@@ -45,6 +45,14 @@ cd Unittests
#execute tests
#execute tests
./unittests
--gtest_color
=
yes
--gtest_output
=
xml
./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
..
cd
..
cd
..
...
@@ -59,7 +67,7 @@ fi
...
@@ -59,7 +67,7 @@ fi
cd
build-debug
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
#build the unit tests
make unittests
make unittests
...
@@ -74,4 +82,9 @@ cd Unittests
...
@@ -74,4 +82,9 @@ cd Unittests
# Run the unittests
# Run the unittests
./unittests
--gtest_color
=
yes
--gtest_output
=
xml
./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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment