diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2020-06-02 11:45:24 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-03 10:30:14 +0200 |
| commit | a86ce602b3ba792d0584efc6e0fb485c8f629ca4 (patch) | |
| tree | 91c27116c3ff2a3cefe01644502f2ed3de17c683 | |
| parent | 66f8bb20261f8fa19e995a00119393f130c43d9f (diff) | |
syz-runtest: disable csource tests for HostFuzzer targets
HostFuzzer targets require that we cross-compile the csource tests and
then copy them to the target system. The code to copy files is
currently missing from syz-runtest; also, at least for Fuchsia (which
uses HostFuzzer mode), cross-compiling is non-trivial.
| -rw-r--r-- | pkg/runtest/run.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/runtest/run.go b/pkg/runtest/run.go index 39d65b245..fa85563ee 100644 --- a/pkg/runtest/run.go +++ b/pkg/runtest/run.go @@ -222,6 +222,13 @@ func (ctx *Context) generatePrograms(progs chan *RunRequest) error { } ctx.produceTest(progs, req, name, properties, requires, results) } + + if sysTarget.HostFuzzer { + // For HostFuzzer mode, we need to cross-compile + // and copy the binary to the target system. + continue + } + name := name properties["C"] = true properties["executor"] = false |
