Mercurial > hg > nsaunier > traffic-intelligence
annotate run-tests.sh @ 1306:4bc0651d91f9 default tip
bug corrected generating last velocity twice and saving it (not saved, duplicated at loading time
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Mon, 30 Mar 2026 15:31:34 -0400 |
| parents | 106365257da9 |
| children |
| 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 | 12 else |
| 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 |
|
1282
106365257da9
reorganization of moving.py and adding documentation tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1028
diff
changeset
|
18 echo "------------" |
|
106365257da9
reorganization of moving.py and adding documentation tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1028
diff
changeset
|
19 echo "Documentation tests" |
|
106365257da9
reorganization of moving.py and adding documentation tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1028
diff
changeset
|
20 TIWIKI_HOME=~/Research/Code/bb-traffic-intelligence/ |
|
106365257da9
reorganization of moving.py and adding documentation tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1028
diff
changeset
|
21 if [ -f $TIWIKI_HOME/docs/run-tests.sh ] |
|
106365257da9
reorganization of moving.py and adding documentation tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1028
diff
changeset
|
22 then |
|
106365257da9
reorganization of moving.py and adding documentation tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1028
diff
changeset
|
23 cd $TIWIKI_HOME/docs/ |
|
106365257da9
reorganization of moving.py and adding documentation tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1028
diff
changeset
|
24 ./run-tests.sh |
|
106365257da9
reorganization of moving.py and adding documentation tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1028
diff
changeset
|
25 else |
|
106365257da9
reorganization of moving.py and adding documentation tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1028
diff
changeset
|
26 echo "The documentation repository (BitBucket Traffic Intelligence repository is not accessible" |
|
106365257da9
reorganization of moving.py and adding documentation tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1028
diff
changeset
|
27 echo "Please clone the BitBucket Traffic Intelligence repository:" |
|
106365257da9
reorganization of moving.py and adding documentation tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1028
diff
changeset
|
28 echo "$ git clone https://bitbucket.org/Nicolas/trafficintelligence.git" |
|
106365257da9
reorganization of moving.py and adding documentation tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1028
diff
changeset
|
29 fi |
