[Kimchi-devel] [PATCH] Allow -v to be passed through in run_tests.sh
Julien Goodwin
jgoodwin at studio442.com.au
Fri Jan 23 11:03:14 UTC 2015
Signed-off-by: Julien Goodwin <jgoodwin at studio442.com.au>
---
tests/run_tests.sh.in | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/tests/run_tests.sh.in b/tests/run_tests.sh.in
index 106f445..d1f4b38 100644
--- a/tests/run_tests.sh.in
+++ b/tests/run_tests.sh.in
@@ -21,6 +21,13 @@
HAVE_UNITTEST=@HAVE_PYMOD_UNITTEST@
PYTHON_VER=@PYTHON_VERSION@
+if [ "$1" = "-v" ]; then
+ OPTS="-v"
+ shift
+else
+ OPTS=""
+fi
+
if [ $# -ne 0 ]; then
ARGS="$@"
else
@@ -45,4 +52,4 @@ for ((i=0;i<${#LIST[@]};i++)); do
fi
done
-PYTHONPATH=../src:../ $CMD ${MODEL_LIST[@]} ${MOCK_LIST[@]}
+PYTHONPATH=../src:../ $CMD $OPTS ${MODEL_LIST[@]} ${MOCK_LIST[@]}
--
2.1.4
More information about the Kimchi-devel
mailing list