aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/runtest/run_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-06-28 14:08:29 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-06-28 12:16:25 +0000
commit30bd3f741301a9ad137b62a686ba1ed2284388c8 (patch)
tree7971ceea9554d7a4fc7303d7611ca27de7b08f68 /pkg/runtest/run_test.go
parent62e12a69a0ef8fec1cc0648b1314428621f9a697 (diff)
Revert "pkg/vminfo: make it possible to force coverage support"
This reverts commit 62e12a69a0ef8fec1cc0648b1314428621f9a697.
Diffstat (limited to 'pkg/runtest/run_test.go')
-rw-r--r--pkg/runtest/run_test.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkg/runtest/run_test.go b/pkg/runtest/run_test.go
index abb801bf5..4de56f4e8 100644
--- a/pkg/runtest/run_test.go
+++ b/pkg/runtest/run_test.go
@@ -385,12 +385,10 @@ func startRpcserver(t *testing.T, target *prog.Target, executor string, source q
cfg := &rpcserver.LocalConfig{
Config: rpcserver.Config{
Config: vminfo.Config{
- Target: target,
- Debug: *flagDebug,
- Features: flatrpc.AllFeatures,
- Sandbox: flatrpc.ExecEnvSandboxNone,
- Cover: true,
- ForceCover: true,
+ Target: target,
+ Debug: *flagDebug,
+ Features: flatrpc.AllFeatures,
+ Sandbox: flatrpc.ExecEnvSandboxNone,
},
Procs: runtime.GOMAXPROCS(0),
Slowdown: 10, // to deflake slower tests
@@ -404,6 +402,7 @@ 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)