mwp-fixes #5
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user