diff options
author | Lei Zhang <zhang.lei.fly@gmail.com> | 2013-10-14 22:00:34 +0800 |
---|---|---|
committer | Lei Zhang <zhang.lei.fly@gmail.com> | 2013-10-15 09:24:16 +0800 |
commit | 0b03a7fdea3d6586ec2c22783e309bb75d68fdc5 (patch) | |
tree | 70c14da34ed4f1d8c527e863cf7eab67ca85863d /run_tests.sh | |
parent | 9aad7fd6f66588fed7c27b720642e47a4a12854b (diff) | |
download | horizon-0b03a7fdea3d6586ec2c22783e309bb75d68fdc5.tar.gz |
Add extra extension file to makemessage command line
specify the file extensions of the makemessage to *.html, *.txt, *.csv
Closes-Bug: #1226910
Change-Id: I115cd448249ac0b1b27a6b28fca3f16d6b2670a6
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 7 |
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)) |