diff options
| author | take_cheeze <[email protected]> | 2014-03-03 16:53:26 +0900 |
|---|---|---|
| committer | take_cheeze <[email protected]> | 2014-03-03 16:53:26 +0900 |
| commit | cfa7889996eacc96a46e88406894d8f063e2912b (patch) | |
| tree | 6c70d4e97ee6afce61c04aa7d6172508559f52e9 /test/bintest.rb | |
| parent | 369c6c3649b5abbca290589585d9a7d365b3e9db (diff) | |
| download | mruby-cfa7889996eacc96a46e88406894d8f063e2912b.tar.gz mruby-cfa7889996eacc96a46e88406894d8f063e2912b.zip | |
run enabled gem's bintest only
Diffstat (limited to 'test/bintest.rb')
| -rw-r--r-- | test/bintest.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/bintest.rb b/test/bintest.rb index e9dbb285e..0ff3341a0 100644 --- a/test/bintest.rb +++ b/test/bintest.rb @@ -1,8 +1,10 @@ $:.unshift File.dirname(File.dirname(File.expand_path(__FILE__))) require 'test/assert.rb' -Dir['mrbgems/**/bintest/*.rb'].each do |file| - load file +ARGV.each do |gem| + Dir["#{gem}/bintest/*.rb"].each do |file| + load file + end end load 'test/report.rb' |
