| ... | @@ -376,7 +376,7 @@ pub fn build(b: *std.Build) !void { | ... | @@ -376,7 +376,7 @@ pub fn build(b: *std.Build) !void { |
| 376 | | 376 | |
| 377 | const test_filters = b.option([]const []const u8, "test-filter", "Skip tests that do not match any filter") orelse &[0][]const u8{}; | 377 | const test_filters = b.option([]const []const u8, "test-filter", "Skip tests that do not match any filter") orelse &[0][]const u8{}; |
| 378 | const test_target_filters = b.option([]const []const u8, "test-target-filter", "Skip tests whose target triple do not match any filter") orelse &[0][]const u8{}; | 378 | const test_target_filters = b.option([]const []const u8, "test-target-filter", "Skip tests whose target triple do not match any filter") orelse &[0][]const u8{}; |
| 379 | const test_slow_targets = b.option(bool, "test-slow-targets", "Enable running module tests for targets that have a slow compiler backend") orelse false; | 379 | const test_extra_targets = b.option(bool, "test-extra-targets", "Enable running module tests for additional targets") orelse false; |
| 380 | | 380 | |
| 381 | var chosen_opt_modes_buf: [4]builtin.OptimizeMode = undefined; | 381 | var chosen_opt_modes_buf: [4]builtin.OptimizeMode = undefined; |
| 382 | var chosen_mode_index: usize = 0; | 382 | var chosen_mode_index: usize = 0; |
| ... | @@ -433,7 +433,7 @@ pub fn build(b: *std.Build) !void { | ... | @@ -433,7 +433,7 @@ pub fn build(b: *std.Build) !void { |
| 433 | test_modules_step.dependOn(tests.addModuleTests(b, .{ | 433 | test_modules_step.dependOn(tests.addModuleTests(b, .{ |
| 434 | .test_filters = test_filters, | 434 | .test_filters = test_filters, |
| 435 | .test_target_filters = test_target_filters, | 435 | .test_target_filters = test_target_filters, |
| 436 | .test_slow_targets = test_slow_targets, | 436 | .test_extra_targets = test_extra_targets, |
| 437 | .root_src = "test/behavior.zig", | 437 | .root_src = "test/behavior.zig", |
| 438 | .name = "behavior", | 438 | .name = "behavior", |
| 439 | .desc = "Run the behavior tests", | 439 | .desc = "Run the behavior tests", |
| ... | @@ -449,7 +449,7 @@ pub fn build(b: *std.Build) !void { | ... | @@ -449,7 +449,7 @@ pub fn build(b: *std.Build) !void { |
| 449 | test_modules_step.dependOn(tests.addModuleTests(b, .{ | 449 | test_modules_step.dependOn(tests.addModuleTests(b, .{ |
| 450 | .test_filters = test_filters, | 450 | .test_filters = test_filters, |
| 451 | .test_target_filters = test_target_filters, | 451 | .test_target_filters = test_target_filters, |
| 452 | .test_slow_targets = test_slow_targets, | 452 | .test_extra_targets = test_extra_targets, |
| 453 | .root_src = "test/c_import.zig", | 453 | .root_src = "test/c_import.zig", |
| 454 | .name = "c-import", | 454 | .name = "c-import", |
| 455 | .desc = "Run the @cImport tests", | 455 | .desc = "Run the @cImport tests", |
| ... | @@ -464,7 +464,7 @@ pub fn build(b: *std.Build) !void { | ... | @@ -464,7 +464,7 @@ pub fn build(b: *std.Build) !void { |
| 464 | test_modules_step.dependOn(tests.addModuleTests(b, .{ | 464 | test_modules_step.dependOn(tests.addModuleTests(b, .{ |
| 465 | .test_filters = test_filters, | 465 | .test_filters = test_filters, |
| 466 | .test_target_filters = test_target_filters, | 466 | .test_target_filters = test_target_filters, |
| 467 | .test_slow_targets = test_slow_targets, | 467 | .test_extra_targets = test_extra_targets, |
| 468 | .root_src = "lib/compiler_rt.zig", | 468 | .root_src = "lib/compiler_rt.zig", |
| 469 | .name = "compiler-rt", | 469 | .name = "compiler-rt", |
| 470 | .desc = "Run the compiler_rt tests", | 470 | .desc = "Run the compiler_rt tests", |
| ... | @@ -480,7 +480,7 @@ pub fn build(b: *std.Build) !void { | ... | @@ -480,7 +480,7 @@ pub fn build(b: *std.Build) !void { |
| 480 | test_modules_step.dependOn(tests.addModuleTests(b, .{ | 480 | test_modules_step.dependOn(tests.addModuleTests(b, .{ |
| 481 | .test_filters = test_filters, | 481 | .test_filters = test_filters, |
| 482 | .test_target_filters = test_target_filters, | 482 | .test_target_filters = test_target_filters, |
| 483 | .test_slow_targets = test_slow_targets, | 483 | .test_extra_targets = test_extra_targets, |
| 484 | .root_src = "lib/c.zig", | 484 | .root_src = "lib/c.zig", |
| 485 | .name = "universal-libc", | 485 | .name = "universal-libc", |
| 486 | .desc = "Run the universal libc tests", | 486 | .desc = "Run the universal libc tests", |
| ... | @@ -496,7 +496,7 @@ pub fn build(b: *std.Build) !void { | ... | @@ -496,7 +496,7 @@ pub fn build(b: *std.Build) !void { |
| 496 | test_modules_step.dependOn(tests.addModuleTests(b, .{ | 496 | test_modules_step.dependOn(tests.addModuleTests(b, .{ |
| 497 | .test_filters = test_filters, | 497 | .test_filters = test_filters, |
| 498 | .test_target_filters = test_target_filters, | 498 | .test_target_filters = test_target_filters, |
| 499 | .test_slow_targets = test_slow_targets, | 499 | .test_extra_targets = test_extra_targets, |
| 500 | .root_src = "lib/std/std.zig", | 500 | .root_src = "lib/std/std.zig", |
| 501 | .name = "std", | 501 | .name = "std", |
| 502 | .desc = "Run the standard library tests", | 502 | .desc = "Run the standard library tests", |