aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/repro/repro.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/repro/repro.go b/pkg/repro/repro.go
index 54c4a248a..c3aaa8a22 100644
--- a/pkg/repro/repro.go
+++ b/pkg/repro/repro.go
@@ -537,8 +537,10 @@ func (ctx *context) testProgs(entries []*prog.LogEntry, duration time.Duration,
}
program += "]"
}
- command := fmt.Sprintf("%v -executor %v -cover=0 -procs=%v -repeat=%v -sandbox %v -threaded=%v -collide=%v %v",
- inst.execprogBin, inst.executorBin, opts.Procs, repeat, opts.Sandbox, opts.Threaded, opts.Collide, vmProgFile)
+ command := fmt.Sprintf("%v -executor %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,
+ 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)
}