annotate run-tests.sh @ 1222:69b531c7a061

added methods to reset trajectories and change object coordinates (including features)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 20 Jun 2023 15:42:19 -0400
parents cc5cb04b04b0
children
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"
1028
cc5cb04b04b0 major update using the trafficintelligence package name and install through pip
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 540
diff changeset
4 cd trafficintelligence
539
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