From c18d4b3946216c469eb1009b37f94c42a48aa8d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Muhammed=20Tanr=C4=B1kulu?= Date: Fri, 13 Feb 2026 19:50:39 -0300 Subject: [PATCH] update build.zig --- build.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.zig b/build.zig index 0fc99c1..99ebde6 100644 --- a/build.zig +++ b/build.zig @@ -376,6 +376,7 @@ pub fn build(b: *std.Build) void { b.installArtifact(multi_peer_test); const run_multi_peer_test = b.addRunArtifact(multi_peer_test); + run_multi_peer_test.setCwd(b.path(".")); run_multi_peer_test.step.dependOn(b.getInstallStep()); const run_multi_peer_test_step = b.step("run-multi-peer-test", "Run multi-peer download test (1GB from 10 peers)"); run_multi_peer_test_step.dependOn(&run_multi_peer_test.step); @@ -397,6 +398,7 @@ pub fn build(b: *std.Build) void { b.installArtifact(multi_file_swarm_test); const run_multi_file_swarm = b.addRunArtifact(multi_file_swarm_test); + run_multi_file_swarm.setCwd(b.path(".")); run_multi_file_swarm.step.dependOn(b.getInstallStep()); const run_multi_file_swarm_step = b.step("run-swarm-test", "Run multi-file swarm test (9 peers, 2 files)"); run_multi_file_swarm_step.dependOn(&run_multi_file_swarm.step); @@ -418,6 +420,7 @@ pub fn build(b: *std.Build) void { b.installArtifact(swarm_chaos_test); const run_swarm_chaos = b.addRunArtifact(swarm_chaos_test); + run_swarm_chaos.setCwd(b.path(".")); run_swarm_chaos.step.dependOn(b.getInstallStep()); const run_swarm_chaos_step = b.step("run-chaos-test", "Run swarm chaos test (seeder failure, cascading, late joiners)"); run_swarm_chaos_step.dependOn(&run_swarm_chaos.step);