Last change
on this file since 322 was 321, checked in by coas-nagasima, 7 years ago |
文字コードを設定
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-ruby;charset=UTF-8
|
File size:
485 bytes
|
Rev | Line | |
---|
[270] | 1 | $:.unshift File.dirname(File.dirname(File.expand_path(__FILE__)))
|
---|
| 2 | require 'test/assert.rb'
|
---|
| 3 |
|
---|
| 4 | def cmd(s)
|
---|
| 5 | case RbConfig::CONFIG['host_os']
|
---|
| 6 | when /mswin(?!ce)|mingw|cygwin|bccwin/
|
---|
| 7 | "bin\\#{s}.exe"
|
---|
| 8 | else
|
---|
| 9 | "bin/#{s}"
|
---|
| 10 | end
|
---|
| 11 | end
|
---|
| 12 |
|
---|
| 13 | def shellquote(s)
|
---|
| 14 | case RbConfig::CONFIG['host_os']
|
---|
| 15 | when /mswin(?!ce)|mingw|cygwin|bccwin/
|
---|
| 16 | "\"#{s}\""
|
---|
| 17 | else
|
---|
| 18 | "'#{s}'"
|
---|
| 19 | end
|
---|
| 20 | end
|
---|
| 21 |
|
---|
| 22 | ARGV.each do |gem|
|
---|
| 23 | Dir["#{gem}/bintest/**/*.rb"].each do |file|
|
---|
| 24 | load file
|
---|
| 25 | end
|
---|
| 26 | end
|
---|
| 27 |
|
---|
| 28 | load 'test/report.rb'
|
---|
Note:
See
TracBrowser
for help on using the repository browser.