Enable i18n tests in rake test command
LMS-1963
This commit is contained in:
committed by
Will Daly
parent
ac3cd92b32
commit
614da8ee3b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user