From db18b562acd7d7dd3a35880aabee3b1c34fb043a Mon Sep 17 00:00:00 2001 From: dweiller <4678790+dweiller@users.noreply.github.com> Date: Thu, 30 Mar 2023 17:33:28 +1100 Subject: std.Build: do not assume custom test runners support client-server mode --- lib/std/Build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/std/Build.zig') diff --git a/lib/std/Build.zig b/lib/std/Build.zig index d2d09539cb..8f4ace6aa2 100644 --- a/lib/std/Build.zig +++ b/lib/std/Build.zig @@ -904,7 +904,7 @@ pub fn addRunArtifact(b: *Build, exe: *Step.Compile) *Step.Run { const run_step = Step.Run.create(b, b.fmt("run {s}", .{exe.name})); run_step.addArtifactArg(exe); - if (exe.kind == .@"test") { + if (exe.kind == .@"test" and exe.test_server_mode) { run_step.enableTestRunnerMode(); } -- cgit v1.2.3