diff options
author | Carlos Goncalves <carlos.goncalves@neclab.eu> | 2017-05-31 07:50:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-31 07:50:33 +0000 |
commit | 67a6a61f91696873917fccffd57d4a8423867392 (patch) | |
tree | 828ec1143055349721f38586f48de7559de0da6c /tests/run.sh | |
parent | f2c343dae4d3d60111236648ee804d060dc6e0e8 (diff) | |
parent | 20b36795291f3e35b11b38fd9f58fa4d6d4e12bc (diff) |
Merge "Adding PYTHON_ENABLE option"
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-x | tests/run.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run.sh b/tests/run.sh index c21c3fd7..daf23946 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -30,6 +30,7 @@ DOCTOR_PW=doctor DOCTOR_PROJECT=doctor DOCTOR_ROLE=_member_ PROFILER_TYPE=${PROFILER_TYPE:-none} +PYTHON_ENABLE=${PYTHON_ENABLE:-false} TOP_DIR=$(cd $(dirname "$0") && pwd) @@ -480,6 +481,13 @@ cleanup() { # Main process +if $PYTHON_ENABLE; then + cd $TOP_DIR + echo "executing tox..." + tox + exit $? +fi + echo "Note: doctor/tests/run.sh has been executed." git log --oneline -1 || true # ignore even you don't have git installed |