Remove 'eo' artifacts when doing common/lib test runs
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -41,6 +41,8 @@ conf/locale/en/LC_MESSAGES/*.po
|
||||
conf/locale/en/LC_MESSAGES/*.mo
|
||||
conf/locale/fake*/LC_MESSAGES/*.po
|
||||
conf/locale/fake*/LC_MESSAGES/*.mo
|
||||
conf/locale/eo/LC_MESSAGES/*.po
|
||||
conf/locale/eo/LC_MESSAGES/*.mo
|
||||
conf/locale/messages.mo
|
||||
|
||||
### Testing artifacts
|
||||
|
||||
@@ -191,6 +191,8 @@ def i18n_robot_pull():
|
||||
|
||||
if con.lower() == 'y':
|
||||
sh('git add conf/locale')
|
||||
# Explicitly add dummy translations
|
||||
sh('git add -f conf/locale/eo/')
|
||||
|
||||
sh(
|
||||
'git commit --message="Update translations '
|
||||
|
||||
@@ -103,6 +103,9 @@ def test_lib(options):
|
||||
test_suite = suites.PythonTestSuite('python tests', subsuites=lib_tests, **opts)
|
||||
test_suite.run()
|
||||
|
||||
# Clear the Esperanto directory of any test artifacts
|
||||
sh('git checkout conf/locale/eo')
|
||||
|
||||
|
||||
@task
|
||||
@needs(
|
||||
|
||||
Reference in New Issue
Block a user