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) ...@@ -71,6 +71,14 @@ class ExecTest(string id,Test test)
{ {
nruns++; nruns++;
Stdio.File pipe=Stdio.File(); 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= object p=
Process.create_process( Process.create_process(
runpike+ runpike+
...@@ -106,8 +114,7 @@ class ExecTest(string id,Test test) ...@@ -106,8 +114,7 @@ class ExecTest(string id,Test test)
memusage/1024, memusage/1024,
"("+nruns+")", "("+nruns+")",
test->present_n test->present_n
?" ("+test->present_n(testntot,nruns,tseconds, ?" ("+test->present_n(testntot,nruns,truns,tg,memusage)+")"
useconds,memusage)+")"
:""); :"");
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment