diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-12-21 12:00:08 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-12-21 12:00:08 +0000 |
commit | 2db5fc1a66a15f54218fd0b477447d34f4d11e4b (patch) | |
tree | 1c0fcbc9cfa4318ccbedf9e4d21b28f28767cede /lib/tasks | |
parent | bea821166dbe9fe3b751bf9e7a5bb04dca06cd86 (diff) | |
download | redmine-2db5fc1a66a15f54218fd0b477447d34f4d11e4b.tar.gz redmine-2db5fc1a66a15f54218fd0b477447d34f4d11e4b.zip |
use environment variable for running independent tests (units etc.) in ci.rake
git-svn-id: http://svn.redmine.org/redmine/trunk@12437 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/ci.rake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index a1455a104..945836162 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -28,7 +28,11 @@ namespace :ci do desc "Build Redmine" task :build do - Rake::Task["test"].invoke + if test_suite = ENV['TEST_SUITE'] + Rake::Task["test:#{test_suite}"].invoke + else + Rake::Task["test"].invoke + end # Rake::Task["test:ui"].invoke if RUBY_VERSION >= '1.9.3' end |