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:
parent
6d7620582d
commit
516b172d75
1 changed files with 5 additions and 5 deletions
12
build.sh
12
build.sh
|
@ -128,13 +128,13 @@ case "$1" in
|
|||
|
||||
test)
|
||||
shift # skip t
|
||||
set -x
|
||||
if [ $# -lt 1 ]; then
|
||||
set -- cdist.test
|
||||
fi
|
||||
PYTHONPATH=$PYTHONPATH:$(pwd -P)/lib \
|
||||
python3 -m unittest "$@"
|
||||
export PYTHONPATH=$PYTHONPATH:$(pwd -P)/lib
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
python3 -m cdist.test
|
||||
else
|
||||
python3 -m unittest "$@"
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue