Skip to content
Snippets Groups Projects
Commit fcbe8c44 authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

fixed "present_n" calculation bug - wrong time was used

Rev: lib/modules/Tools.pmod/Shoot.pmod/module.pmod:1.7
parent beec8d3f
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment