From 69d5a967f63450b170c5cf76716e302e86a9cae4 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 28 Jun 2024 13:25:15 +0200 Subject: executor: always return some coverage for test OS This allows to enable test executor with coverage. --- pkg/runtest/run_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/runtest/run_test.go b/pkg/runtest/run_test.go index 4de56f4e8..4666c167d 100644 --- a/pkg/runtest/run_test.go +++ b/pkg/runtest/run_test.go @@ -386,6 +386,7 @@ func startRpcserver(t *testing.T, target *prog.Target, executor string, source q Config: rpcserver.Config{ Config: vminfo.Config{ Target: target, + Cover: true, Debug: *flagDebug, Features: flatrpc.AllFeatures, Sandbox: flatrpc.ExecEnvSandboxNone, @@ -402,7 +403,6 @@ func startRpcserver(t *testing.T, target *prog.Target, executor string, source q if machineChecked != nil { machineChecked(features) } - cfg.Cover = true return source } errc := make(chan error) -- cgit mrf-deployment