diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-06-28 13:25:15 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-06-28 12:16:25 +0000 |
| commit | 69d5a967f63450b170c5cf76716e302e86a9cae4 (patch) | |
| tree | e645b5e10a4ef19fb1378cfb039146eb7c643cc2 /pkg/runtest/run_test.go | |
| parent | 7c9e8492e6c7882c495b29c53e078327c2a23de5 (diff) | |
executor: always return some coverage for test OS
This allows to enable test executor with coverage.
Diffstat (limited to 'pkg/runtest/run_test.go')
| -rw-r--r-- | pkg/runtest/run_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
