From 876d05ffa6378b29c37934361cf5a97c06191655 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Mon, 30 Aug 2010 16:58:56 +0200 Subject: [PATCH] when there is a param, load test only for this backend --- tools/run_tests.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/run_tests.sh b/tools/run_tests.sh index af8b32b3..b3a2e93d 100755 --- a/tools/run_tests.sh +++ b/tools/run_tests.sh @@ -1,3 +1,7 @@ #!/bin/bash -find $(dirname $0)/../weboob -name test.py | xargs nosetests -sv +if [ "$1" != "" ]; then + nosetests -sv $(dirname $0)/../weboob/backends/$1 +else + find $(dirname $0)/../weboob -name test.py | xargs nosetests -sv +fi