From 7201404ee08e85a279b4ee64a8b93f6a39bdf360 Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Wed, 26 Feb 2014 22:01:31 +0900 Subject: compile assert.rb once --- test/init_mrbtest.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/init_mrbtest.c') diff --git a/test/init_mrbtest.c b/test/init_mrbtest.c index 8d01624f0..717578dc8 100644 --- a/test/init_mrbtest.c +++ b/test/init_mrbtest.c @@ -2,6 +2,7 @@ #include "mruby.h" #include "mruby/irep.h" +extern const uint8_t mrbtest_assert_irep[]; extern const uint8_t mrbtest_irep[]; void mrbgemtest_init(mrb_state* mrb); @@ -9,6 +10,7 @@ void mrbgemtest_init(mrb_state* mrb); void mrb_init_mrbtest(mrb_state *mrb) { + mrb_load_irep(mrb, mrbtest_assert_irep); mrb_load_irep(mrb, mrbtest_irep); #ifndef DISABLE_GEMS mrbgemtest_init(mrb); -- cgit v1.2.3