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