diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-08-25 08:59:51 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-08-25 08:59:51 -0700 |
| commit | bf3cf0c965acde4217280429327c9012b37aaf17 (patch) | |
| tree | 54f497cecf6dbb8bc4e2a3a3de98987c8105bc33 /pkg | |
| parent | 20749b59878b6ec3912908536c38c9465bc0c46d (diff) | |
pkg/host: enable coverage on freebsd, disable on netbsd
I messed it up during refactoring.
It's freebsd that has coverage support.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/host/host_freebsd.go | 4 | ||||
| -rw-r--r-- | pkg/host/host_netbsd.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkg/host/host_freebsd.go b/pkg/host/host_freebsd.go index 1d01cf743..238edd46d 100644 --- a/pkg/host/host_freebsd.go +++ b/pkg/host/host_freebsd.go @@ -10,3 +10,7 @@ import ( func isSupported(c *prog.Syscall, sandbox string) (bool, string) { return true, "" } + +func init() { + checkFeature[FeatureCoverage] = unconditionallyEnabled +} diff --git a/pkg/host/host_netbsd.go b/pkg/host/host_netbsd.go index 238edd46d..1d01cf743 100644 --- a/pkg/host/host_netbsd.go +++ b/pkg/host/host_netbsd.go @@ -10,7 +10,3 @@ import ( func isSupported(c *prog.Syscall, sandbox string) (bool, string) { return true, "" } - -func init() { - checkFeature[FeatureCoverage] = unconditionallyEnabled -} |
