annotate run-tests.sh @ 540:4fdce0f09ece

minor
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 04 Jul 2014 17:38:25 -0400
parents 53587cc86f7d
children cc5cb04b04b0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
539
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
1 #!/bin/sh
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
2 echo "------------"
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
3 echo "Python tests"
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
4 cd python
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
5 ./run-tests.sh
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
6 cd ..
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
7 echo "------------"
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
8 echo "C++ tests"
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
9 if [ -f ./bin/tests ]
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
10 then
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
11 ./bin/tests
540
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 539
diff changeset
12 else
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 539
diff changeset
13 echo "The test executable has not been compiled"
539
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
14 fi
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
15 echo "------------"
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
16 echo "Script tests"
53587cc86f7d added one test script that runs C++, Python and future script tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
17 ./scripts/run-tests.sh