diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-03-21 23:00:14 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-04-04 06:08:10 +0200 |
| commit | 7c5412c7a49ff1bd387dcfdea4e1cbf0985a40d4 (patch) | |
| tree | 846ac2e24c25263c6cceb7bea397e711d4bdc989 /build.zig | |
| parent | 15a05fc32474daa33b642f47d5a11a7b93e26c07 (diff) | |
| download | zig-7c5412c7a49ff1bd387dcfdea4e1cbf0985a40d4.tar.gz zig-7c5412c7a49ff1bd387dcfdea4e1cbf0985a40d4.zip | |
build: Rename -Dtest-slow-targets to -Dtest-extra-targets.
This can be used more broadly for targets that aren't quite ready to be tested
by default yet.
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -376,7 +376,7 @@ pub fn build(b: *std.Build) !void { const test_filters = b.option([]const []const u8, "test-filter", "Skip tests that do not match any filter") orelse &[0][]const u8{}; 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{}; - const test_slow_targets = b.option(bool, "test-slow-targets", "Enable running module tests for targets that have a slow compiler backend") orelse false; + const test_extra_targets = b.option(bool, "test-extra-targets", "Enable running module tests for additional targets") orelse false; var chosen_opt_modes_buf: [4]builtin.OptimizeMode = undefined; var chosen_mode_index: usize = 0; @@ -433,7 +433,7 @@ pub fn build(b: *std.Build) !void { test_modules_step.dependOn(tests.addModuleTests(b, .{ .test_filters = test_filters, .test_target_filters = test_target_filters, - .test_slow_targets = test_slow_targets, + .test_extra_targets = test_extra_targets, .root_src = "test/behavior.zig", .name = "behavior", .desc = "Run the behavior tests", @@ -449,7 +449,7 @@ pub fn build(b: *std.Build) !void { test_modules_step.dependOn(tests.addModuleTests(b, .{ .test_filters = test_filters, .test_target_filters = test_target_filters, - .test_slow_targets = test_slow_targets, + .test_extra_targets = test_extra_targets, .root_src = "test/c_import.zig", .name = "c-import", .desc = "Run the @cImport tests", @@ -464,7 +464,7 @@ pub fn build(b: *std.Build) !void { test_modules_step.dependOn(tests.addModuleTests(b, .{ .test_filters = test_filters, .test_target_filters = test_target_filters, - .test_slow_targets = test_slow_targets, + .test_extra_targets = test_extra_targets, .root_src = "lib/compiler_rt.zig", .name = "compiler-rt", .desc = "Run the compiler_rt tests", @@ -480,7 +480,7 @@ pub fn build(b: *std.Build) !void { test_modules_step.dependOn(tests.addModuleTests(b, .{ .test_filters = test_filters, .test_target_filters = test_target_filters, - .test_slow_targets = test_slow_targets, + .test_extra_targets = test_extra_targets, .root_src = "lib/c.zig", .name = "universal-libc", .desc = "Run the universal libc tests", @@ -496,7 +496,7 @@ pub fn build(b: *std.Build) !void { test_modules_step.dependOn(tests.addModuleTests(b, .{ .test_filters = test_filters, .test_target_filters = test_target_filters, - .test_slow_targets = test_slow_targets, + .test_extra_targets = test_extra_targets, .root_src = "lib/std/std.zig", .name = "std", .desc = "Run the standard library tests", |
