summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-06-02 09:39:22 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-06-02 09:39:22 +0900
commitf370a0f0fd7111ca946a15a1f5641a4ef60a3859 (patch)
treee8bd792a71b1203916a4274f8b3c626e9baf567d
parent991b19b19567220060d88bd34dfc2d9443991fd2 (diff)
parentde8916b1f2a3835f06c8a1b10ba3a5b40bc4441e (diff)
downloadmruby-f370a0f0fd7111ca946a15a1f5641a4ef60a3859.tar.gz
mruby-f370a0f0fd7111ca946a15a1f5641a4ef60a3859.zip
Merge pull request #2343 from carsonmcdonald/fixmgemargspassing
Fix mgem test args passing
-rw-r--r--tasks/mrbgem_spec.rake3
1 files changed, 2 insertions, 1 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake
index 67edffbc5..36dd8f9c1 100644
--- a/tasks/mrbgem_spec.rake
+++ b/tasks/mrbgem_spec.rake
@@ -44,7 +44,7 @@ module MRuby
end
def run_test_in_other_mrb_state?
- not test_preload.nil? or not test_objs.empty?
+ not test_preload.nil? or not test_objs.empty? or not test_args.empty?
end
def setup
@@ -182,6 +182,7 @@ module MRuby
f.puts %Q[#include "mruby/irep.h"]
f.puts %Q[#include "mruby/string.h"]
f.puts %Q[#include "mruby/variable.h"]
+ f.puts %Q[#include "mruby/hash.h"] unless test_args.empty?
end
def version_ok?(req_versions)