aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/array.zig
diff options
context:
space:
mode:
authorKoakuma <koachan@protonmail.com>2023-01-04 10:46:05 +0700
committerAndrew Kelley <andrew@ziglang.org>2023-04-28 16:45:37 -0700
commitd339e86fb1308f8df37fc351ee01007492e72f25 (patch)
tree304a296032e8f91da1194272ca5eff4d473a707d /test/behavior/array.zig
parentfd6200eda6d4fe19c34a59430a88a9ce38d6d7a4 (diff)
downloadzig-d339e86fb1308f8df37fc351ee01007492e72f25.tar.gz
zig-d339e86fb1308f8df37fc351ee01007492e72f25.zip
stage2: sparc64: Skip unimplemented tests
Diffstat (limited to 'test/behavior/array.zig')
-rw-r--r--test/behavior/array.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/behavior/array.zig b/test/behavior/array.zig
index ec31d4a3fb..6cf0ab9e1d 100644
--- a/test/behavior/array.zig
+++ b/test/behavior/array.zig
@@ -47,6 +47,7 @@ fn getArrayLen(a: []const u32) usize {
test "array concat with undefined" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
const S = struct {
fn doTheTest() !void {
@@ -70,6 +71,7 @@ test "array concat with undefined" {
test "array concat with tuple" {
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
const array: [2]u8 = .{ 1, 2 };
{
@@ -103,6 +105,7 @@ test "array init with mult" {
test "array literal with explicit type" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
+ if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
const hex_mult: [4]u16 = .{ 4096, 256, 16, 1 };
@@ -203,6 +206,7 @@ test "nested arrays of strings" {
test "nested arrays of integers" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
const array_of_numbers = [_][2]u8{
[2]u8{ 1, 2 },