view run-tests.sh @ 947:053484e08947

found a more elegant solution, making a copy of the list to iterate
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 21 Jul 2017 11:31:42 -0400
parents 4fdce0f09ece
children cc5cb04b04b0
line wrap: on
line source

#!/bin/sh
echo "------------"
echo "Python tests"
cd python
./run-tests.sh
cd ..
echo "------------"
echo "C++ tests"
if [ -f ./bin/tests ]
then
    ./bin/tests
else
    echo "The test executable has not been compiled"
fi
echo "------------"
echo "Script tests"
./scripts/run-tests.sh