Commit bf6aa014 by Will Daly

Merge pull request #2319 from edx/will/enable-i18n-tests

Enable i18n tests in `rake test` command
parents dba1e4dd 614da8ee
......@@ -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}")
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment