diff options
| author | Carson McDonald <[email protected]> | 2014-06-01 09:51:21 -0400 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-03 16:29:42 +0900 |
| commit | fe09686c2f12982b5dbbea25239060b1de4cc975 (patch) | |
| tree | e8bd792a71b1203916a4274f8b3c626e9baf567d /tasks | |
| parent | 72305efe617a840d0b3b676cd6ba9ecd6a377ae8 (diff) | |
| download | mruby-fe09686c2f12982b5dbbea25239060b1de4cc975.tar.gz mruby-fe09686c2f12982b5dbbea25239060b1de4cc975.zip | |
Fix mgem test args passing
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/mrbgem_spec.rake | 3 |
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) |
