Side by Side Diff: misc/test-translator
Patch Set: check all python versions
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
OLD | NEW |
1 #! /bin/bash | 1 #! /bin/bash |
2 | 2 |
3 set -e | 3 set -e |
4 | 4 |
5 python2.7 test-translator.py | 5 for PYTHON in python2.6 python2.7 python3; do |
6 python3 test-translator.py | 6 # Returns 0 if command is found. |
| 7 command -v $PYTHON >/dev/null 2>&1 |
| 8 # Only test those python versions that are installed. |
| 9 if [ $? -eq 0 ]; then |
| 10 echo |
| 11 $PYTHON -V |
| 12 $PYTHON test-translator.py |
| 13 fi |
| 14 done |
7 | 15 |
8 rm -f output.sas | 16 rm -f output.sas |
9 | 17 |
10 echo "TESTS PASSED" | 18 echo "TESTS PASSED" |
11 | 19 |
12 | 20 |
13 | 21 |
OLD | NEW |
« no previous file with comments
|
« no previous file
|
no next file »
|
no next file with comments »