diff options
Diffstat (limited to 'pkg/instance/instance.go')
| -rw-r--r-- | pkg/instance/instance.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go index ebcf75c40..ad0a1ba76 100644 --- a/pkg/instance/instance.go +++ b/pkg/instance/instance.go @@ -372,10 +372,14 @@ func FuzzerCmd(fuzzer, executor, name, OS, arch, fwdAddr, sandbox string, procs, // because old execprog does not have os flag. osArg = " -os=" + OS } + runtestArg := "" + if runtest { + runtestArg = " -runtest" + } return fmt.Sprintf("%v -executor=%v -name=%v -arch=%v%v -manager=%v -sandbox=%v"+ - " -procs=%v -v=%d -cover=%v -debug=%v -test=%v -runtest=%v", + " -procs=%v -v=%d -cover=%v -debug=%v -test=%v%v", fuzzer, executor, name, arch, osArg, fwdAddr, sandbox, - procs, verbosity, cover, debug, test, runtest) + procs, verbosity, cover, debug, test, runtestArg) } func ExecprogCmd(execprog, executor, OS, arch, sandbox string, repeat, threaded, collide bool, |
