minor: test fixes
This commit is contained in:
parent
a7139fd5ed
commit
486059de2e
16
Rakefile
16
Rakefile
|
@ -1,11 +1,16 @@
|
||||||
# -*- mode: ruby; -*-
|
# -*- mode: ruby; -*-
|
||||||
require 'rubygems'
|
if RUBY_VERSION < '1.9.0'
|
||||||
require 'rubygems/specification'
|
require 'rubygems'
|
||||||
|
require 'rubygems/specification'
|
||||||
|
end
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
require 'rake'
|
|
||||||
require 'rake/testtask'
|
require 'rake/testtask'
|
||||||
require 'rake/gempackagetask'
|
|
||||||
require 'rbconfig'
|
require 'rbconfig'
|
||||||
|
require 'rake'
|
||||||
|
begin
|
||||||
|
require 'ci/reporter/rake/test_unit'
|
||||||
|
rescue LoadError
|
||||||
|
end
|
||||||
include Config
|
include Config
|
||||||
ENV['TEST_MODE'] = 'TRUE'
|
ENV['TEST_MODE'] = 'TRUE'
|
||||||
|
|
||||||
|
@ -154,7 +159,8 @@ namespace :bamboo do
|
||||||
end
|
end
|
||||||
|
|
||||||
namespace :test do
|
namespace :test do
|
||||||
task :ruby => [:ci_reporter, "ci:setup:testunit"] do
|
task :ruby do
|
||||||
|
Rake::Task['ci:setup:testunit']
|
||||||
Rake::Task['test:ruby'].invoke
|
Rake::Task['test:ruby'].invoke
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue