From fcbe8c442a558721a8f7bc2acced6627e14391a8 Mon Sep 17 00:00:00 2001 From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org> Date: Mon, 27 Jan 2003 10:13:37 +0100 Subject: [PATCH] fixed "present_n" calculation bug - wrong time was used Rev: lib/modules/Tools.pmod/Shoot.pmod/module.pmod:1.7 --- lib/modules/Tools.pmod/Shoot.pmod/module.pmod | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/modules/Tools.pmod/Shoot.pmod/module.pmod b/lib/modules/Tools.pmod/Shoot.pmod/module.pmod index 3f3281d01f..455a1ce252 100644 --- a/lib/modules/Tools.pmod/Shoot.pmod/module.pmod +++ b/lib/modules/Tools.pmod/Shoot.pmod/module.pmod @@ -71,6 +71,14 @@ class ExecTest(string id,Test test) { nruns++; Stdio.File pipe=Stdio.File(); +#if 0 + werror("%O %s\n", + runpike+ + ({ "-e","Tools.Shoot._shoot(\""+id+"\")" }), + (runpike+ + ({ "-e","Tools.Shoot._shoot(\""+id+"\")" }))*" "); +#endif + object p= Process.create_process( runpike+ @@ -106,8 +114,7 @@ class ExecTest(string id,Test test) memusage/1024, "("+nruns+")", test->present_n - ?" ("+test->present_n(testntot,nruns,tseconds, - useconds,memusage)+")" + ?" ("+test->present_n(testntot,nruns,truns,tg,memusage)+")" :""); return 0; } -- GitLab