aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2013-08-09 21:21:19 +0200
committerTheo Chatzimichos <tampakrap@gentoo.org>2013-08-09 21:21:19 +0200
commit23537e3cdbc53b443a053e512393ba9aede01b06 (patch)
tree51b1eaba3e073ccdb8f49f87c3af8ca051d0376d /bin
parentaddition of helper bash scripts for development (diff)
downloadidentity.gentoo.org-23537e3cdbc53b443a053e512393ba9aede01b06.tar.gz
identity.gentoo.org-23537e3cdbc53b443a053e512393ba9aede01b06.tar.bz2
identity.gentoo.org-23537e3cdbc53b443a053e512393ba9aede01b06.zip
python2 only, add --traceback
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runtests4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/runtests b/bin/runtests
index 4893ba0..0f83cb0 100755
--- a/bin/runtests
+++ b/bin/runtests
@@ -15,10 +15,10 @@ if [[ -n ${TDAEMON} ]]; then
[[ -n ${COVERAGE} ]] && COVERAGE="-c"
${TDAEMON} ${COVERAGE} --custom-args="${SETTINGS} ${APPS}"
elif [[ -n ${COVERAGE} ]]; then
- ${COVERAGE} run manage.py test ${SETTINGS} ${APPS}
+ ${COVERAGE} run manage.py test --traceback ${SETTINGS} ${APPS}
${COVERAGE} report -m
else
- COMMAND="python manage.py test ${SETTINGS} ${APPS}"
+ COMMAND="python2 manage.py test --traceback ${SETTINGS} ${APPS}"
echo "Executing: $COMMAND"
$COMMAND
fi