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
This commit is contained in:
Andreas Jaeger 2016-05-07 10:36:05 +02:00
parent 59a56d3640
commit 005474377e
1 changed files with 2 additions and 2 deletions

View File

@ -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))