Mercurial > hg > nsaunier > traffic-intelligence
comparison python/run-tests.sh @ 998:933670761a57
updated code to python 3 (tests pass and scripts run, but non-executed parts of code are probably still not correct)
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Sun, 27 May 2018 23:22:48 -0400 |
| parents | da665302c88d |
| children |
comparison
equal
deleted
inserted
replaced
| 997:4f3387a242a1 | 998:933670761a57 |
|---|---|
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 # for file in tests/*... basename | 2 # for file in tests/*... basename |
| 3 for f in ./*.py | 3 for f in ./*.py |
| 4 do | 4 do |
| 5 python $f | 5 python3 $f |
| 6 done | 6 done |
| 7 for f in ./tests/*.py | 7 for f in ./tests/*.py |
| 8 do | 8 do |
| 9 python $f | 9 python3 $f |
| 10 done | 10 done |
