diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-02-05 16:53:29 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-02-05 16:53:29 -0500 |
| commit | 704cd977bdcdfa8cff4e70aaad93857d9b622fc7 (patch) | |
| tree | 028ddaa40366b2a3b487751926f8d8d81cde88c4 /lib/std/special | |
| parent | 84323504acc2c872a55d0b59ff2c54b60b809405 (diff) | |
| download | zig-704cd977bdcdfa8cff4e70aaad93857d9b622fc7.tar.gz zig-704cd977bdcdfa8cff4e70aaad93857d9b622fc7.zip | |
ability to run tests in evented I/O mode
This adds `--test-evented-io` as a CLI parameter.
see #3117
Diffstat (limited to 'lib/std/special')
| -rw-r--r-- | lib/std/special/test_runner.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/special/test_runner.zig b/lib/std/special/test_runner.zig index 07c46ee43c..4ba2e3aa7e 100644 --- a/lib/std/special/test_runner.zig +++ b/lib/std/special/test_runner.zig @@ -2,6 +2,8 @@ const std = @import("std"); const io = std.io; const builtin = @import("builtin"); +pub const io_mode = builtin.test_io_mode; + pub fn main() anyerror!void { const test_fn_list = builtin.test_functions; var ok_count: usize = 0; |
