From a727aedd978cd1c3c440c7dedb25a0796aafba20 Mon Sep 17 00:00:00 2001 From: peterino2 Date: Thu, 6 Nov 2025 20:44:59 -0800 Subject: [PATCH] change tests to avoid -fincremental, causes issues on windows, also reducing payload size for concurrent queue test, due to memory constraints --- lib/p2/src/structures/concurrent-queue.zig | 2 +- lib/test-libs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/p2/src/structures/concurrent-queue.zig b/lib/p2/src/structures/concurrent-queue.zig index d12e900..f79adfa 100644 --- a/lib/p2/src/structures/concurrent-queue.zig +++ b/lib/p2/src/structures/concurrent-queue.zig @@ -186,7 +186,7 @@ test "concurrent queue multiple producer single consumer" { const Payload = struct { x: i64 = 0, - arb: [4096 * 16]u8 = undefined, + arb: [4096]u8 = undefined, }; const QueueType = ConcurrentQueueUnmanagedAdvanced(Payload, .{ .debug = false, .allowAsserts = true }); diff --git a/lib/test-libs.py b/lib/test-libs.py index a383bd0..4a303ce 100644 --- a/lib/test-libs.py +++ b/lib/test-libs.py @@ -31,7 +31,7 @@ def launchTests(): for d in dirs: print(">>>>> testing " , d) try: - run(['zig', 'build', 'test', '-fincremental'], cwd=os.path.join(orig_dir, d)) + run(['zig', 'build', 'test'], cwd=os.path.join(orig_dir, d)) results[d] = "success πŸ†πŸ’¦πŸ˜" except: results[d] = "test failed. ❌️🀑🍿🍦πŸŽͺ🎈"