Fix translation test
We do not store pot files anymore in git. Fix run_tests.sh that expects
that these are in git. To restore normal content, just remove the
generated files.
Change-Id: Ief0861e01ff758120001f4c8dfdbf9afadf09f5b
(cherry picked from commit 005474377e
)
This commit is contained in:
parent
408114a0bc
commit
7edc34656b
|
@ -464,8 +464,8 @@ function run_makemessages {
|
|||
DASHBOARD_JS_RESULT=$?
|
||||
|
||||
if [ $check_only -eq 1 ]; then
|
||||
git checkout -- horizon/locale/django*.pot
|
||||
git checkout -- openstack_dashboard/locale/django*.pot
|
||||
rm horizon/locale/django*.pot
|
||||
rm openstack_dashboard/locale/django*.pot
|
||||
fi
|
||||
|
||||
exit $(($HORIZON_PY_RESULT || $HORIZON_JS_RESULT || $DASHBOARD_RESULT || $DASHBOARD_JS_RESULT))
|
||||
|
|
Loading…
Reference in New Issue