mwp-fixes #5

Merged
mdt merged 6 commits from mwp-fixes into main 2026-02-19 14:53:53 +00:00
25 changed files with 2362 additions and 567 deletions
Showing only changes of commit c18d4b3946 - Show all commits

View File

@@ -376,6 +376,7 @@ pub fn build(b: *std.Build) void {
b.installArtifact(multi_peer_test); b.installArtifact(multi_peer_test);
const run_multi_peer_test = b.addRunArtifact(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()); 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)"); 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); 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); b.installArtifact(multi_file_swarm_test);
const run_multi_file_swarm = b.addRunArtifact(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()); 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)"); 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); 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); b.installArtifact(swarm_chaos_test);
const run_swarm_chaos = b.addRunArtifact(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()); 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)"); 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); run_swarm_chaos_step.dependOn(&run_swarm_chaos.step);