2010-04-24 00:49:23 +02:00
|
|
|
#!/bin/sh
|
2010-04-26 05:56:51 +02:00
|
|
|
default_unit='admin_tools dashboard theming menu'
|
2010-04-25 23:40:41 +02:00
|
|
|
default_all="$default_unit test_app"
|
2010-04-24 00:49:23 +02:00
|
|
|
if [ $# -eq 0 ]
|
|
|
|
then
|
2010-04-25 23:40:41 +02:00
|
|
|
test_proj/manage.py test $default_all
|
2010-04-24 00:49:23 +02:00
|
|
|
else
|
2010-04-25 23:40:41 +02:00
|
|
|
if [ $1 = 'unit' ]
|
|
|
|
then
|
|
|
|
test_proj/manage.py test $default_unit
|
|
|
|
else
|
|
|
|
test_proj/manage.py test $*
|
|
|
|
fi
|
2010-04-24 00:49:23 +02:00
|
|
|
fi
|