Code Review
/
doctor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
f2c343d
)
Merge "Adding PYTHON_ENABLE option"
author
Carlos Goncalves
<carlos.goncalves@neclab.eu>
Wed, 31 May 2017 07:50:33 +0000
(07:50 +0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Wed, 31 May 2017 07:50:33 +0000
(07:50 +0000)
tests/run.sh
patch
|
blob
|
history
diff --git
a/tests/run.sh
b/tests/run.sh
index
c21c3fd
..
daf2394
100755
(executable)
--- 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