Enable i18n tests in rake test command

LMS-1963
This commit is contained in:
Sarina Canelake
2014-01-21 16:53:42 -05:00
committed by Will Daly
parent ac3cd92b32
commit 614da8ee3b
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ namespace :i18n do
end
desc "Run tests for the internationalization library"
task :test => "i18n:validate:gettext" do
task :test => ["i18n:validate:gettext", "i18n:extract", "i18n:generate"] do
test = File.join(REPO_ROOT, "i18n", "tests")
pythonpath_prefix = "PYTHONPATH=#{REPO_ROOT}/i18n:$PYTHONPATH"
sh("#{pythonpath_prefix} nosetests #{test}")

View File

@@ -136,7 +136,7 @@ namespace :test do
end
desc "Run all tests"
task :test, [:test_id] => [:test_docs, 'test:python']
task :test, [:test_id] => [:test_docs, 'test:python', 'i18n:test']
desc "Build the html, xml, and diff coverage reports"
task :coverage => :report_dirs do