From 614da8ee3b5c71fb1b4700fe1ae91d7fa80bd9c1 Mon Sep 17 00:00:00 2001 From: Sarina Canelake Date: Tue, 21 Jan 2014 16:53:42 -0500 Subject: [PATCH] Enable i18n tests in `rake test` command LMS-1963 --- rakelib/i18n.rake | 2 +- rakelib/tests.rake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rakelib/i18n.rake b/rakelib/i18n.rake index 44d00ad0ab..f59af8ea64 100644 --- a/rakelib/i18n.rake +++ b/rakelib/i18n.rake @@ -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}") diff --git a/rakelib/tests.rake b/rakelib/tests.rake index c867a51fa4..868fa5836f 100644 --- a/rakelib/tests.rake +++ b/rakelib/tests.rake @@ -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