diff options
Diffstat (limited to 'runtests.sh')
-rwxr-xr-x | runtests.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtests.sh b/runtests.sh index a435da6e..9143a769 100755 --- a/runtests.sh +++ b/runtests.sh @@ -2,6 +2,8 @@ set -e +PYTHON=${1:-python} + for x in examples/hlapi/asyncore/sync/manager/cmdgen/*.py \ examples/hlapi/asyncore/sync/agent/ntforg/*.py \ examples/hlapi/asyncore/manager/cmdgen/*.py \ @@ -19,7 +21,7 @@ do continue ;; *) - python "${x}" | tail -50 + $PYTHON "${x}" | tail -50 ;; esac -done
\ No newline at end of file +done |