summaryrefslogtreecommitdiffhomepage
path: root/build_config.rb
diff options
context:
space:
mode:
authorZachary Scott <[email protected]>2015-08-22 10:21:52 -0400
committerZachary Scott <[email protected]>2015-08-22 10:21:52 -0400
commit133d57cb0d989b956bac899ccc5171351d15fc06 (patch)
tree772975422da7d0bb9d23ec44746677a2dd64869b /build_config.rb
parentc7d0f8ebcbcd21fbe624bfd1e9b43a8037703a6d (diff)
downloadmruby-133d57cb0d989b956bac899ccc5171351d15fc06.tar.gz
mruby-133d57cb0d989b956bac899ccc5171351d15fc06.zip
Add mruby-test build config and update :test task to use mrbgem binary
Removed old mrbgems_test.rake which was merged into mrbgem spec
Diffstat (limited to 'build_config.rb')
-rw-r--r--build_config.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/build_config.rb b/build_config.rb
index 3408f19a1..e1178d6b2 100644
--- a/build_config.rb
+++ b/build_config.rb
@@ -108,6 +108,16 @@ MRuby::Build.new('host-debug') do |conf|
# conf.enable_bintest
end
+MRuby::Build.new('test') do |conf|
+ toolchain :gcc
+
+ enable_debug
+ conf.enable_bintest
+
+ conf.gembox 'default'
+ conf.gem :core => "mruby-test"
+end
+
# Define cross build settings
# MRuby::CrossBuild.new('32bit') do |conf|
# toolchain :gcc