diff --git a/lib/modules/Tools.pmod/Shoot.pmod/module.pmod b/lib/modules/Tools.pmod/Shoot.pmod/module.pmod index c3dd453c59f42883124b3cd54149ada8ad0fac2e..1686a9fce4bff95cf951d23743584bcccb5808c0 100644 --- a/lib/modules/Tools.pmod/Shoot.pmod/module.pmod +++ b/lib/modules/Tools.pmod/Shoot.pmod/module.pmod @@ -130,16 +130,15 @@ class ExecTest(string id,Test test) if (silent) return 0; - write("%6.3fs %6.3fs %s %5s%s\n", + write("%6.3fs %6.3fs %s %5s (%s)\n", tseconds, useconds, memusage>0 ? sprintf("%5dkb", memusage/1024) : " ? ", - "("+nruns+")", - test->present_n - ?" ("+(tg != 0.0 - ?test->present_n(testntot,nruns,truns,tg,memusage) - :"no time?")+")" - :""); + "(" + nruns + ")", + (tg == 0.0)?"no time?": + test->present_n?test->present_n(testntot,nruns,truns,tg,memusage): + sprintf("%d%s/s", (int)((testntot || nruns)/tg), + testntot?"":" runs")); return 0; } }