Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1029)

Side by Side Diff: misc/test-translator

Issue 6028046: issue329
Patch Set: check all python versions Created 13 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b