From 2290cea0a3fb1680cd891e479dd4003fde78db5c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 4 Jul 2018 10:09:30 +0200 Subject: pkg/repro: pass target OS to execprog Pass target OS to execprog and pass executor the same way manager passes it to fuzzer. --- pkg/repro/repro.go | 4 ++-- 1 file 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) -- cgit mrf-deployment