counter in trace
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Sat, 2 Oct 2010 18:44:12 +0000 (20:44 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Sat, 2 Oct 2010 18:44:12 +0000 (20:44 +0200)
system/TestMain.py

index 0d4e2a7..afdc5e5 100755 (executable)
@@ -324,7 +324,7 @@ steps refer to a method in TestPlc or to a step_* module
 
         # do all steps on all plcs
         TIME_FORMAT="%H-%M-%S"
-        TRACE_FORMAT="TRACE: beg=%(beg)s end=%(end)s status=%(status)s step=%(stepname)s plc=%(plcname)s force=%(force)s\n"
+        TRACE_FORMAT="TRACE: %(plc_counter)d %(beg)s->%(end)s status=%(status)s step=%(stepname)s plc=%(plcname)s force=%(force)s\n"
         for (stepname,method,force,cross,qualifier) in all_step_infos:
             plc_counter=0
             for (spec,plc_obj) in all_plcs: