Flush stdout after every print from tests

parent 71eeb86a
...@@ -66,6 +66,7 @@ t_printstr(mrb_state *mrb, mrb_value obj) ...@@ -66,6 +66,7 @@ t_printstr(mrb_state *mrb, mrb_value obj)
s = RSTRING_PTR(obj); s = RSTRING_PTR(obj);
len = RSTRING_LEN(obj); len = RSTRING_LEN(obj);
fwrite(s, len, 1, stdout); fwrite(s, len, 1, stdout);
fflush(stdout);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment