aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-07-04 10:09:30 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-07-05 10:44:34 +0200
commit2290cea0a3fb1680cd891e479dd4003fde78db5c (patch)
tree242e5545bb3fa3f75a8e294e723dce6273b2f906
parent3e6e03441320e16b01a155367fd48f487b58f90c (diff)
pkg/repro: pass target OS to execprog
Pass target OS to execprog and pass executor the same way manager passes it to fuzzer.
-rw-r--r--pkg/repro/repro.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/repro/repro.go b/pkg/repro/repro.go
index 0aa91535e..039f9cca7 100644
--- a/pkg/repro/repro.go
+++ b/pkg/repro/repro.go
@@ -544,9 +544,9 @@ func (ctx *context) testProgs(entries []*prog.LogEntry, duration time.Duration,
}
program += "]"
}
- command := fmt.Sprintf("%v -executor %v -arch=%v -cover=0 -procs=%v -repeat=%v"+
+ command := fmt.Sprintf("%v -executor=%v -os=%v -arch=%v -cover=0 -procs=%v -repeat=%v"+
" -sandbox %v -threaded=%v -collide=%v %v",
- inst.execprogBin, inst.executorBin, ctx.cfg.TargetArch, opts.Procs, repeat,
+ inst.execprogBin, inst.executorBin, ctx.cfg.TargetOS, ctx.cfg.TargetArch, opts.Procs, repeat,
opts.Sandbox, opts.Threaded, opts.Collide, vmProgFile)
ctx.reproLog(2, "testing program (duration=%v, %+v): %s", duration, opts, program)
return ctx.testImpl(inst.Instance, command, duration)