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
This commit is contained in:
Toshi MARUYAMA 2013-12-21 12:00:08 +00:00
parent bea821166d
commit 2db5fc1a66
1 changed files with 5 additions and 1 deletions

View File

@ -28,7 +28,11 @@ namespace :ci do
desc "Build Redmine"
task :build do
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