diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-07-06 20:18:05 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-07-06 20:18:05 +0200 |
| commit | 0b95b8ec49528f9c878dc6c27f323ff5497ab8ee (patch) | |
| tree | 2f7b3e45e83aacdf4df7be3416f0bbaa8becad43 /pkg/host/host_test.go | |
| parent | 00c977447d726cb58f754bb7995659347c9aa8b1 (diff) | |
pkg/host: disable for akaros
akaros can't have own host version
because fuzzer does not run on akaros,
so just disable it all.
Diffstat (limited to 'pkg/host/host_test.go')
| -rw-r--r-- | pkg/host/host_test.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/host/host_test.go b/pkg/host/host_test.go index 19507517f..c8190dac5 100644 --- a/pkg/host/host_test.go +++ b/pkg/host/host_test.go @@ -48,7 +48,11 @@ func TestDetectSupportedSyscalls(t *testing.T) { func TestCheck(t *testing.T) { t.Parallel() - features, err := Check() + target, err := prog.GetTarget(runtime.GOOS, runtime.GOARCH) + if err != nil { + t.Fatal(err) + } + features, err := Check(target) if err != nil { t.Fatal(err) } |
