| OLD | NEW |
| 1 #! /bin/bash | 1 #! /bin/bash |
| 2 | 2 |
| 3 # Update git submodules | 3 # Update git submodules |
| 4 git submodule init | 4 git submodule init |
| 5 git submodule update | 5 git submodule update |
| 6 | 6 |
| 7 # If already in a VIRTUAL_ENV assume the person knows what they are doing, | 7 # If already in a VIRTUAL_ENV assume the person knows what they are doing, |
| 8 # otherwise set up a python virtualenv with all the needed requirements. | 8 # otherwise set up a python virtualenv with all the needed requirements. |
| 9 if [ x$VIRTUAL_ENV == x"" ]; then | 9 if [ x$VIRTUAL_ENV == x"" ]; then |
| 10 cd tools/python | 10 cd tools/python |
| 11 source setup.sh | 11 source setup.sh |
| 12 cd ../.. | 12 cd ../.. |
| 13 fi | 13 fi |
| 14 | 14 |
| 15 exec python tools/python/run-tests.py "$@" | 15 exec python tools/python/run-tests.py "$@" |
| OLD | NEW |