From bcfcca11ed9f29f6f42657db1b9a4e54296da408 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 2 Oct 2010 20:44:12 +0200 Subject: [PATCH] counter in trace --- system/TestMain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/TestMain.py b/system/TestMain.py index 0d4e2a7..afdc5e5 100755 --- a/system/TestMain.py +++ b/system/TestMain.py @@ -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: -- 2.43.0