From 79ae2139bb2f458de698aa116270428f54e22dc6 Mon Sep 17 00:00:00 2001 From: Akihiro MOTOKI Date: Fri, 25 Oct 2013 03:19:24 +0900 Subject: [PATCH] Fix warning in run_tests.sh --makemessages Specify --extension=html,txt,csv only for openstack_dashboard. For djangojs, --extension should be 'js'. This is the cause of the warning. Change-Id: Ia5ac03fa82c18356b8d210005f8696ae148981bd Closes-Bug: #1243526 --- run_tests.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index d4144703e2..aa2454ea72 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -349,7 +349,8 @@ function run_tests_all { } function run_makemessages { - OPTS="-l en --extension html,txt,csv --no-obsolete" + OPTS="-l en --no-obsolete" + DASHBOARD_OPTS="--extension=html,txt,csv --ignore=openstack/common/*" echo -n "horizon: " cd horizon ${command_wrapper} $root/manage.py makemessages $OPTS @@ -359,7 +360,7 @@ function run_makemessages { HORIZON_JS_RESULT=$? echo -n "openstack_dashboard: " cd ../openstack_dashboard - ${command_wrapper} $root/manage.py makemessages --ignore=openstack/common/* $OPTS + ${command_wrapper} $root/manage.py makemessages $DASHBOARD_OPTS $OPTS DASHBOARD_RESULT=$? cd .. exit $(($HORIZON_PY_RESULT || $HORIZON_JS_RESULT || $DASHBOARD_RESULT))