diff options
| author | joachimschmidt557 <joachim.schmidt557@outlook.com> | 2022-02-23 21:32:25 +0100 |
|---|---|---|
| committer | joachimschmidt557 <joachim.schmidt557@outlook.com> | 2022-02-23 21:58:13 +0100 |
| commit | f91fe9afb92dda2b7b1ae37147ce7af40101d5ea (patch) | |
| tree | 3e9743e17dab31808acbd39def65afa3aba85b51 /test | |
| parent | 4683f94463cf7165bcaf88c8de73dd7ed5279c60 (diff) | |
| download | zig-f91fe9afb92dda2b7b1ae37147ce7af40101d5ea.tar.gz zig-f91fe9afb92dda2b7b1ae37147ce7af40101d5ea.zip | |
stage2 AArch64: more support for MCValue.got_load and direct_load
Diffstat (limited to 'test')
| -rw-r--r-- | test/behavior/align.zig | 1 | ||||
| -rw-r--r-- | test/behavior/basic.zig | 3 | ||||
| -rw-r--r-- | test/behavior/bugs/2006.zig | 1 | ||||
| -rw-r--r-- | test/behavior/cast.zig | 1 | ||||
| -rw-r--r-- | test/behavior/slice.zig | 1 | ||||
| -rw-r--r-- | test/behavior/struct.zig | 1 |
6 files changed, 0 insertions, 8 deletions
diff --git a/test/behavior/align.zig b/test/behavior/align.zig index 5518d40756..5a617b84d5 100644 --- a/test/behavior/align.zig +++ b/test/behavior/align.zig @@ -305,7 +305,6 @@ fn testIndex2(ptr: [*]align(4) u8, index: usize, comptime T: type) !void { } test "alignment of function with c calling convention" { - if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest; if (builtin.zig_backend == .stage1) return error.SkipZigTest; var runtime_nothing = ¬hing; diff --git a/test/behavior/basic.zig b/test/behavior/basic.zig index 6c0fbd028a..024e24e400 100644 --- a/test/behavior/basic.zig +++ b/test/behavior/basic.zig @@ -48,7 +48,6 @@ const g1: i32 = 1233 + 1; var g2: i32 = 0; test "global variables" { - if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest; try expect(g2 == 0); g2 = g1; try expect(g2 == 1234); @@ -604,7 +603,6 @@ test "comptime cast fn to ptr" { } test "equality compare fn ptrs" { - if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest; if (builtin.zig_backend == .stage1) return error.SkipZigTest; var a = &emptyFn; @@ -612,7 +610,6 @@ test "equality compare fn ptrs" { } test "self reference through fn ptr field" { - if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest; if (builtin.zig_backend == .stage1) return error.SkipZigTest; if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; diff --git a/test/behavior/bugs/2006.zig b/test/behavior/bugs/2006.zig index 03cef375fe..4d76230c88 100644 --- a/test/behavior/bugs/2006.zig +++ b/test/behavior/bugs/2006.zig @@ -6,7 +6,6 @@ const S = struct { p: *S, }; test "bug 2006" { - if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest; if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; var a: S = undefined; a = S{ .p = undefined }; diff --git a/test/behavior/cast.zig b/test/behavior/cast.zig index f5758a3466..980044ebfb 100644 --- a/test/behavior/cast.zig +++ b/test/behavior/cast.zig @@ -1013,7 +1013,6 @@ test "cast from array reference to fn: comptime fn ptr" { try expect(@ptrToInt(f) == @ptrToInt(&global_array)); } test "cast from array reference to fn: runtime fn ptr" { - if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest; if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO diff --git a/test/behavior/slice.zig b/test/behavior/slice.zig index d6ab46e757..01d132df54 100644 --- a/test/behavior/slice.zig +++ b/test/behavior/slice.zig @@ -81,7 +81,6 @@ fn assertLenIsZero(msg: []const u8) !void { } test "access len index of sentinel-terminated slice" { - if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest; if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO const S = struct { diff --git a/test/behavior/struct.zig b/test/behavior/struct.zig index 99dec11bf9..5f46894fda 100644 --- a/test/behavior/struct.zig +++ b/test/behavior/struct.zig @@ -66,7 +66,6 @@ const SmallStruct = struct { }; test "lower unnamed constants" { - if (builtin.zig_backend == .stage2_aarch64 and builtin.os.tag == .macos) return error.SkipZigTest; var foo = SmallStruct{ .a = 1, .b = 255 }; try expect(foo.first() == 1); try expect(foo.second() == 255); |
