mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
tests: pass on -Dsanitize-thread to unit tests
This commit is contained in:
@@ -2334,6 +2334,7 @@ pub const ModuleTestOptions = struct {
|
||||
skip_libc: bool,
|
||||
max_rss: usize = 0,
|
||||
no_builtin: bool = false,
|
||||
sanitize_thread: ?bool = null,
|
||||
build_options: ?*Step.Options = null,
|
||||
|
||||
pub const TestOnly = union(enum) {
|
||||
@@ -2462,6 +2463,7 @@ fn addOneModuleTest(
|
||||
.link_libc = test_target.link_libc,
|
||||
.pic = test_target.pic,
|
||||
.strip = test_target.strip,
|
||||
.sanitize_thread = options.sanitize_thread,
|
||||
.single_threaded = test_target.single_threaded,
|
||||
}),
|
||||
.max_rss = max_rss,
|
||||
|
||||
Reference in New Issue
Block a user