Merge branch 'haze-hb/test-evented-io-build-zig'

closes #5274
master
Andrew Kelley 2020-05-05 15:18:34 -04:00
commit ad43155f25
1 changed files with 5 additions and 0 deletions

View File

@ -1132,6 +1132,7 @@ pub const LibExeObjStep = struct {
name_prefix: []const u8,
filter: ?[]const u8,
single_threaded: bool,
test_evented_io: bool = false,
code_model: builtin.CodeModel = .default,
root_src: ?FileSource,
@ -1864,6 +1865,10 @@ pub const LibExeObjStep = struct {
try zig_args.append(filter);
}
if (self.test_evented_io) {
try zig_args.append("--test-evented-io");
}
if (self.name_prefix.len != 0) {
try zig_args.append("--test-name-prefix");
try zig_args.append(self.name_prefix);