From d2796c9a9304da1bfee29241ea068411c579f546 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Thu, 19 Aug 2021 16:53:28 -0600 Subject: [PATCH] test_l3_longevity.py : debug information Signed-off-by: Chuck SmileyRekiere --- py-scripts/test_l3_longevity.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/py-scripts/test_l3_longevity.py b/py-scripts/test_l3_longevity.py index 2ebc11d4..82a3eb0e 100755 --- a/py-scripts/test_l3_longevity.py +++ b/py-scripts/test_l3_longevity.py @@ -318,17 +318,20 @@ class L3VariableTime(Realm): lat += int(endp["delay"]) jit += int(endp["jitter"]) name = endp["name"] + print("endp name {name}".format(name=name)) if name.endswith("-A"): + print("name has -A") total_dl_rx_rate += int(endp["rx rate"]) total_dl_rx_rate_ll += int(endp["rx rate ll"]) total_dl_rx_pkts_ll += int(endp["rx pkts ll"]) - else: + else: + print("name has -B") total_ul_rx_rate += int(endp["rx rate"]) total_ul_rx_rate_ll += int(endp["rx rate ll"]) total_ul_rx_pkts_ll += int(endp["rx pkts ll"]) count += 1 - print("matched: ") + print("matched") else: print("Did not match")