run new test instance by default if no test is specified

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-14 14:19:18 +02:00
parent 6d7620582d
commit 516b172d75

View file

@ -128,13 +128,13 @@ case "$1" in
test)
shift # skip t
set -x
export PYTHONPATH=$PYTHONPATH:$(pwd -P)/lib
if [ $# -lt 1 ]; then
set -- cdist.test
fi
PYTHONPATH=$PYTHONPATH:$(pwd -P)/lib \
python3 -m cdist.test
else
python3 -m unittest "$@"
fi
;;
*)