aboutsummaryrefslogtreecommitdiff
path: root/test/tests.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-04-05 01:46:13 -0400
committerGitHub <noreply@github.com>2025-04-05 01:46:13 -0400
commit0cd31fc7ff157551cfbba5da35cd79f118d2a2e3 (patch)
treea308488f5d85184c8ec402fb3f55f1cf2704443e /test/tests.zig
parent8acedfd5baabab705946ad097746f9183ef62420 (diff)
parentcefe65c1b8abe65a22d4b68410db1be264fdeda0 (diff)
downloadzig-0cd31fc7ff157551cfbba5da35cd79f118d2a2e3.tar.gz
zig-0cd31fc7ff157551cfbba5da35cd79f118d2a2e3.zip
Merge pull request #22780 from ziglang/llvm20
LLVM 20
Diffstat (limited to 'test/tests.zig')
-rw-r--r--test/tests.zig24
1 files changed, 5 insertions, 19 deletions
diff --git a/test/tests.zig b/test/tests.zig
index 9224f97c7e..0944c2a77d 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -30,11 +30,9 @@ const TestTarget = struct {
strip: ?bool = null,
skip_modules: []const []const u8 = &.{},
- // This is intended for targets that are known to be slow to compile. These are acceptable to
- // run in CI, but should not be run on developer machines by default. As an example, at the time
- // of writing, this includes LLVM's MIPS backend which takes upwards of 20 minutes longer to
- // compile tests than other backends.
- slow_backend: bool = false,
+ // This is intended for targets that are known to be slow to compile, or require a newer LLVM
+ // version than is present on the CI machines, etc.
+ extra_target: bool = false,
};
const test_targets = blk: {
@@ -505,7 +503,6 @@ const test_targets = blk: {
.os_tag = .linux,
.abi = .eabi,
},
- .slow_backend = true,
},
.{
.target = .{
@@ -513,7 +510,6 @@ const test_targets = blk: {
.os_tag = .linux,
.abi = .eabihf,
},
- .slow_backend = true,
},
.{
.target = .{
@@ -522,7 +518,6 @@ const test_targets = blk: {
.abi = .musleabi,
},
.link_libc = true,
- .slow_backend = true,
},
.{
.target = .{
@@ -531,7 +526,6 @@ const test_targets = blk: {
.abi = .musleabihf,
},
.link_libc = true,
- .slow_backend = true,
},
.{
.target = .{
@@ -540,7 +534,6 @@ const test_targets = blk: {
.abi = .gnueabi,
},
.link_libc = true,
- .slow_backend = true,
},
.{
.target = .{
@@ -549,7 +542,6 @@ const test_targets = blk: {
.abi = .gnueabihf,
},
.link_libc = true,
- .slow_backend = true,
},
.{
@@ -558,7 +550,6 @@ const test_targets = blk: {
.os_tag = .linux,
.abi = .eabi,
},
- .slow_backend = true,
},
.{
.target = .{
@@ -566,7 +557,6 @@ const test_targets = blk: {
.os_tag = .linux,
.abi = .eabihf,
},
- .slow_backend = true,
},
.{
.target = .{
@@ -575,7 +565,6 @@ const test_targets = blk: {
.abi = .musleabi,
},
.link_libc = true,
- .slow_backend = true,
},
.{
.target = .{
@@ -584,7 +573,6 @@ const test_targets = blk: {
.abi = .musleabihf,
},
.link_libc = true,
- .slow_backend = true,
},
.{
.target = .{
@@ -593,7 +581,6 @@ const test_targets = blk: {
.abi = .gnueabi,
},
.link_libc = true,
- .slow_backend = true,
},
.{
.target = .{
@@ -602,7 +589,6 @@ const test_targets = blk: {
.abi = .gnueabihf,
},
.link_libc = true,
- .slow_backend = true,
},
.{
@@ -1375,7 +1361,7 @@ pub fn addRunTranslatedCTests(
const ModuleTestOptions = struct {
test_filters: []const []const u8,
test_target_filters: []const []const u8,
- test_slow_targets: bool,
+ test_extra_targets: bool,
root_src: []const u8,
name: []const u8,
desc: []const u8,
@@ -1400,7 +1386,7 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
}
}
- if (!options.test_slow_targets and test_target.slow_backend) continue;
+ if (!options.test_extra_targets and test_target.extra_target) continue;
if (options.skip_non_native and !test_target.target.isNative())
continue;