From 2db5fc1a66a15f54218fd0b477447d34f4d11e4b Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 21 Dec 2013 12:00:08 +0000 Subject: 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 --- lib/tasks/ci.rake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/tasks') 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 -- cgit v1.2.3