Commit 4cfbfbf2 authored by Jan Möbius's avatar Jan Möbius

Disabled another non working config (gcc c++98) of python

parent e7e18077
...@@ -33,6 +33,7 @@ fi ...@@ -33,6 +33,7 @@ fi
#===================================== #=====================================
NC='\033[0m' NC='\033[0m'
OUTPUT='\033[0;32m' OUTPUT='\033[0;32m'
WARNING='\033[0;93m'
echo -e "${OUTPUT}" echo -e "${OUTPUT}"
...@@ -97,13 +98,22 @@ echo "Running Python unittests Release version " ...@@ -97,13 +98,22 @@ echo "Running Python unittests Release version "
echo "======================================================================" echo "======================================================================"
echo -e "${NC}" echo -e "${NC}"
if [ "$LANGUAGE" == "C++11" ] || [ "$COMPILER" == "gcc" ] ; then
# Execute Python unittests # Execute Python unittests
cd Python-Unittests cd Python-Unittests
python -m unittest discover -v
cd ..
else
echo -e "${WARNING}"
echo "WARNING! Python unittests disabled !!"
echo -e "${NC}"
fi
python -m unittest discover -v
cd ..
cd .. cd ..
...@@ -171,8 +181,16 @@ echo "Running Python unittests Debug version " ...@@ -171,8 +181,16 @@ echo "Running Python unittests Debug version "
echo "======================================================================" echo "======================================================================"
echo -e "${NC}" echo -e "${NC}"
if [ "$LANGUAGE" == "C++11" ] || [ "$COMPILER" == "gcc" ] ; then
# Execute Python unittests
cd Python-Unittests
# Execute Python unittests python -m unittest discover -v
cd Python-Unittests else
python -m unittest discover -v echo -e "${WARNING}"
echo "WARNING! Python unittests disabled !!"
echo -e "${NC}"
fi
...@@ -25,6 +25,7 @@ fi ...@@ -25,6 +25,7 @@ fi
#===================================== #=====================================
NC='\033[0m' NC='\033[0m'
OUTPUT='\033[0;32m' OUTPUT='\033[0;32m'
WARNING='\033[0;93m'
echo -e "${OUTPUT}" echo -e "${OUTPUT}"
...@@ -102,7 +103,9 @@ if [ "$LANGUAGE" == "C++11" ]; then ...@@ -102,7 +103,9 @@ if [ "$LANGUAGE" == "C++11" ]; then
cd .. cd ..
else else
echo -e "${WARNING}"
echo "WARNING! Python unittests disabled for clang on Mac with c++98 !!" echo "WARNING! Python unittests disabled for clang on Mac with c++98 !!"
echo -e "${NC}"
fi fi
...@@ -182,5 +185,9 @@ if [ "$LANGUAGE" == "C++11" ]; then ...@@ -182,5 +185,9 @@ if [ "$LANGUAGE" == "C++11" ]; then
cp ../Build/python/openmesh.so . cp ../Build/python/openmesh.so .
python -m unittest discover -v python -m unittest discover -v
else else
echo -e "${WARNING}"
echo "WARNING! Python unittests disabled for clang on Mac with c++98 !!" echo "WARNING! Python unittests disabled for clang on Mac with c++98 !!"
echo -e "${NC}"
fi fi
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