summaryrefslogtreecommitdiff
path: root/run_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-xrun_tests.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/run_tests.sh b/run_tests.sh
index bcd308051..a320d12e4 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -339,16 +339,17 @@ function run_tests_all {
}
function run_makemessages {
+ OPTS="-l en --extension html,txt,csv --no-obsolete"
echo -n "horizon: "
cd horizon
- ${command_wrapper} $root/manage.py makemessages -l en --no-obsolete
+ ${command_wrapper} $root/manage.py makemessages $OPTS
HORIZON_PY_RESULT=$?
echo -n "horizon javascript: "
- ${command_wrapper} $root/manage.py makemessages -d djangojs -l en --no-obsolete
+ ${command_wrapper} $root/manage.py makemessages -d djangojs $OPTS
HORIZON_JS_RESULT=$?
echo -n "openstack_dashboard: "
cd ../openstack_dashboard
- ${command_wrapper} $root/manage.py makemessages -l en --ignore=openstack/common/* --no-obsolete
+ ${command_wrapper} $root/manage.py makemessages --ignore=openstack/common/* $OPTS
DASHBOARD_RESULT=$?
cd ..
exit $(($HORIZON_PY_RESULT || $HORIZON_JS_RESULT || $DASHBOARD_RESULT))