swift/test/unit/locale
Pete Zaitcev c7e65db27d Make test_translations test our tree
In order to run the correct classes, Python test framework adjusts
sys.path. However, these changes are not propagated to subprocesses.
Therefore, the test actually tries to test installed Swift, not
the one in which it is running.

The usual suggestion is to run "python setup.py develop" before
testing, but it's annoying and error-prone. If you forget it,
you may test the code in /usr very easily, and never know.

Let's just pass the correct path to subprocess. Much safer.

Change-Id: Ic71314e8462cf6e0579d704ffe9fbbfac7e6ba24
2013-10-04 23:23:23 -06:00
..
eo/LC_MESSAGES fix swift i18n 2013-09-09 20:25:00 -07:00
__init__.py fix swift i18n 2013-09-09 20:25:00 -07:00
eo.po fix swift i18n 2013-09-09 20:25:00 -07:00
messages.mo fix swift i18n 2013-09-09 20:25:00 -07:00
README fix swift i18n 2013-09-09 20:25:00 -07:00
test_locale.py Make test_translations test our tree 2013-10-04 23:23:23 -06:00

rebuild the .mo with msgfmt (included with GNU gettext)

    msgfmt eo.po