Mercurial > hg > nsaunier > traffic-intelligence
annotate python/run-tests.sh @ 1017:89cbc4056c13
corrected makefile
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Mon, 04 Jun 2018 17:42:35 -0400 |
| parents | 933670761a57 |
| children |
| rev | line source |
|---|---|
|
255
13ec22bec5d4
corrected typos and bugs and added a test
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
1 #!/bin/sh |
|
13ec22bec5d4
corrected typos and bugs and added a test
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff
changeset
|
2 # for file in tests/*... basename |
|
489
000bddf84ad0
corrected bugs in safety analysis
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
282
diff
changeset
|
3 for f in ./*.py |
|
000bddf84ad0
corrected bugs in safety analysis
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
282
diff
changeset
|
4 do |
|
998
933670761a57
updated code to python 3 (tests pass and scripts run, but non-executed parts of code are probably still not correct)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
648
diff
changeset
|
5 python3 $f |
|
489
000bddf84ad0
corrected bugs in safety analysis
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
282
diff
changeset
|
6 done |
|
648
da665302c88d
added some tutorial code as tests to avoid tutorial to become out of sync with code changes
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
589
diff
changeset
|
7 for f in ./tests/*.py |
|
da665302c88d
added some tutorial code as tests to avoid tutorial to become out of sync with code changes
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
589
diff
changeset
|
8 do |
|
998
933670761a57
updated code to python 3 (tests pass and scripts run, but non-executed parts of code are probably still not correct)
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
648
diff
changeset
|
9 python3 $f |
|
648
da665302c88d
added some tutorial code as tests to avoid tutorial to become out of sync with code changes
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
589
diff
changeset
|
10 done |
