summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--run_test.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/run_test.rb b/run_test.rb
index 7be23b4d3..d9566a2a6 100644
--- a/run_test.rb
+++ b/run_test.rb
@@ -3,16 +3,11 @@
# mrbgems test runner
#
-DEPEND_GEMS = []
gemname = File.basename(File.dirname(File.expand_path __FILE__))
if __FILE__ == $0
repository, dir = 'https://github.com/mruby/mruby.git', 'tmp/mruby'
build_args = ARGV
- if ARGV.first && ARGV.first.include?('iij')
- repository, dir = 'https://github.com/iij/mruby.git', 'tmp/iij-mruby'
- build_args = ARGV[1, ARGV.size]
- end
build_args = ['all', 'test'] if build_args.nil? or build_args.empty?
Dir.mkdir 'tmp' unless File.exist?('tmp')
@@ -25,9 +20,7 @@ end
MRuby::Build.new do |conf|
toolchain :gcc
- conf.gems.clear
+ conf.gembox 'default'
+
conf.gem File.expand_path(File.dirname(__FILE__))
- DEPEND_GEMS.each do |g|
- conf.gem g
- end
end