[BioRuby-cvs] bioruby/test runner.rb,1.2,1.3

Katayama Toshiaki k at pub.open-bio.org
Fri Jan 20 08:04:31 EST 2006


Update of /home/repository/bioruby/bioruby/test
In directory pub.open-bio.org:/tmp/cvs-serv26203/test

Modified Files:
	runner.rb 
Log Message:
* fixed to follow the change of AutoRunnner.run in Ruby 1.8.3


Index: runner.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/test/runner.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** runner.rb	23 Oct 2005 10:40:40 -0000	1.2
--- runner.rb	20 Jan 2006 13:04:28 -0000	1.3
***************
*** 7,10 ****
  $:.unshift(bioruby_libpath) unless $:.include?(bioruby_libpath)
  
! exit Test::Unit::AutoRunner.run(false, File.dirname($0))
  
--- 7,14 ----
  $:.unshift(bioruby_libpath) unless $:.include?(bioruby_libpath)
  
! if RUBY_VERSION > "1.8.2"
!   exit Test::Unit::AutoRunner.run(true, File.dirname($0))
! else
!   exit Test::Unit::AutoRunner.run(false, File.dirname($0))
! end
  



More information about the bioruby-cvs mailing list