diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-09-22 01:16:26 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-09-22 01:16:26 +0800 |
| commit | 0e7d5a2e4bcca01a41ea00324261818440808e6f (patch) | |
| tree | cb0e6469f099b9262809c24efa223033196305ab /test/init_mrbtest.c | |
| parent | 80b7f45fd17bac6f3623c92eceda26f6fbf72a64 (diff) | |
| download | mruby-0e7d5a2e4bcca01a41ea00324261818440808e6f.tar.gz mruby-0e7d5a2e4bcca01a41ea00324261818440808e6f.zip | |
Move Gem Tests into the main Test target
Diffstat (limited to 'test/init_mrbtest.c')
| -rw-r--r-- | test/init_mrbtest.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/init_mrbtest.c b/test/init_mrbtest.c index b9f09dd2f..2bc2f2e4b 100644 --- a/test/init_mrbtest.c +++ b/test/init_mrbtest.c @@ -5,13 +5,16 @@ #include "mruby/proc.h" extern const char mrbtest_irep[]; +extern const char mrbgemtest_irep[]; void mrb_init_mrbtest(mrb_state *mrb) { int n = mrb_read_irep(mrb, mrbtest_irep); + int m = mrb_read_irep(mrb, mrbgemtest_irep); mrb_run(mrb, mrb_proc_new(mrb, mrb->irep[n]), mrb_top_self(mrb)); + mrb_run(mrb, mrb_proc_new(mrb, mrb->irep[m]), mrb_top_self(mrb)); if (mrb->exc) { mrb_p(mrb, mrb_obj_value(mrb->exc)); exit(0); |
