x86_64: fix std test failures

This commit is contained in:
Jacob Young
2023-11-03 23:18:21 -04:00
parent f6de3ec963
commit 509be7cf1f
45 changed files with 1412 additions and 841 deletions

View File

@@ -324,8 +324,6 @@ test "Condition - wait and signal" {
return error.SkipZigTest;
}
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const num_threads = 4;
const MultiWait = struct {
@@ -371,8 +369,6 @@ test "Condition - signal" {
return error.SkipZigTest;
}
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const num_threads = 4;
const SignalTest = struct {
@@ -440,8 +436,6 @@ test "Condition - multi signal" {
return error.SkipZigTest;
}
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const num_threads = 4;
const num_iterations = 4;
@@ -504,8 +498,6 @@ test "Condition - broadcasting" {
return error.SkipZigTest;
}
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const num_threads = 10;
const BroadcastTest = struct {
@@ -573,8 +565,6 @@ test "Condition - broadcasting - wake all threads" {
return error.SkipZigTest;
}
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
var num_runs: usize = 1;
const num_threads = 10;

View File

@@ -289,8 +289,6 @@ test "Mutex - many contended" {
return error.SkipZigTest;
}
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const num_threads = 4;
const num_increments = 1000;

View File

@@ -297,8 +297,6 @@ test "RwLock - concurrent access" {
if (builtin.single_threaded)
return;
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const num_writers: usize = 2;
const num_readers: usize = 4;
const num_writes: usize = 10000;

View File

@@ -39,8 +39,6 @@ test "Thread.Semaphore" {
return error.SkipZigTest;
}
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
const TestContext = struct {
sem: *Semaphore,
n: *i32,