Revert "Merge pull request #17637 from jacobly0/x86_64-test-std"

This reverts commit 0c99ba1eab, reversing
changes made to 5f92b070bf.

This caused a CI failure when it landed in master branch due to a
128-bit `@byteSwap` in std.mem.
This commit is contained in:
Andrew Kelley
2023-10-22 12:16:35 -07:00
parent 9f0359d78f
commit 6f0198cadb
150 changed files with 183 additions and 1694 deletions

View File

@@ -583,8 +583,6 @@ pub fn MultiArrayList(comptime T: type) type {
}
test "basic usage" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const ally = testing.allocator;
const Foo = struct {
@@ -679,8 +677,6 @@ test "basic usage" {
// This was observed to fail on aarch64 with LLVM 11, when the capacityInBytes
// function used the @reduce code path.
test "regression test for @reduce bug" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const ally = testing.allocator;
var list = MultiArrayList(struct {
tag: std.zig.Token.Tag,
@@ -758,8 +754,6 @@ test "regression test for @reduce bug" {
}
test "ensure capacity on empty list" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const ally = testing.allocator;
const Foo = struct {
@@ -795,8 +789,6 @@ test "ensure capacity on empty list" {
}
test "insert elements" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const ally = testing.allocator;
const Foo = struct {
@@ -816,8 +808,6 @@ test "insert elements" {
}
test "union" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const ally = testing.allocator;
const Foo = union(enum) {
@@ -873,8 +863,6 @@ test "union" {
}
test "sorting a span" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
var list: MultiArrayList(struct { score: u32, chr: u8 }) = .{};
defer list.deinit(testing.allocator);
@@ -915,8 +903,6 @@ test "sorting a span" {
}
test "0 sized struct field" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const ally = testing.allocator;
const Foo = struct {
@@ -944,8 +930,6 @@ test "0 sized struct field" {
}
test "0 sized struct" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const ally = testing.allocator;
const Foo = struct {