tests: pass on -Dsanitize-thread to unit tests

This commit is contained in:
Justus Klausecker
2026-03-06 00:08:13 +01:00
parent 823f9039f1
commit 933bfd4282
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -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,