mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Flush stdout after every print from tests
This commit is contained in:
@@ -66,6 +66,7 @@ t_printstr(mrb_state *mrb, mrb_value obj)
|
||||
s = RSTRING_PTR(obj);
|
||||
len = RSTRING_LEN(obj);
|
||||
fwrite(s, len, 1, stdout);
|
||||
fflush(stdout);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user