From 4f3f9e4a4ff07affaf662012700e0ca8718998f3 Mon Sep 17 00:00:00 2001 From: Theo Chatzimichos Date: Sun, 8 Sep 2013 15:02:43 +0200 Subject: Add -v support in runtests --- bin/runtests | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/runtests b/bin/runtests index 0825325..8284ddd 100755 --- a/bin/runtests +++ b/bin/runtests @@ -1,15 +1,16 @@ #!/bin/bash -while getopts dcf2 arg; do +while getopts dcf2v: arg; do case ${arg} in d) TDAEMON="tdaemon -t django" ;; c) COVERAGE="coverage" ;; f) FLAKE8="flake8 . --exclude=./okupy/tests/settings.py,./okupy/settings,setup.py,.virtualenv" ;; 2) SUFFIX="2" ;; + v) VERBOSE="-v ${OPTARG}" ;; esac done -ARGS="--settings=okupy.tests.settings --traceback" +ARGS="--settings=okupy.tests.settings --traceback ${VERBOSE}" if [[ -n ${TDAEMON} ]]; then [[ -n ${COVERAGE} ]] && COVERAGE="-c" -- cgit v1.2.3-65-gdbad