summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authortake_cheeze <[email protected]>2014-03-03 16:53:26 +0900
committertake_cheeze <[email protected]>2014-03-03 16:53:26 +0900
commitcfa7889996eacc96a46e88406894d8f063e2912b (patch)
tree6c70d4e97ee6afce61c04aa7d6172508559f52e9 /tasks
parent369c6c3649b5abbca290589585d9a7d365b3e9db (diff)
downloadmruby-cfa7889996eacc96a46e88406894d8f063e2912b.tar.gz
mruby-cfa7889996eacc96a46e88406894d8f063e2912b.zip
run enabled gem's bintest only
Diffstat (limited to 'tasks')
-rw-r--r--tasks/mruby_build.rake3
1 files changed, 2 insertions, 1 deletions
diff --git a/tasks/mruby_build.rake b/tasks/mruby_build.rake
index c65ad4c20..432100f8d 100644
--- a/tasks/mruby_build.rake
+++ b/tasks/mruby_build.rake
@@ -194,7 +194,8 @@ module MRuby
end
def run_bintest
- sh "ruby test/bintest.rb"
+ targets = @gems.select { |v| Dir.exists? "#{v.dir}/bintest" }.map { |v| filename v.dir }
+ sh "ruby test/bintest.rb #{targets.join ' '}"
end
def print_build_summary