PAL: Treat the new and the old TC names 94/13394/2
authorTibor Frank <tifrank@cisco.com>
Mon, 9 Jul 2018 14:00:28 +0000 (16:00 +0200)
committerTibor Frank <tifrank@cisco.com>
Tue, 10 Jul 2018 11:25:49 +0000 (11:25 +0000)
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: If5999de81b4e062d38ce44871f0c4d4fa794b55c
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/input_data_parser.py

index 91c7747..57ec935 100644 (file)
@@ -199,6 +199,12 @@ class ExecutionChecker(ResultVisitor):
 
     REGEX_BMRR = re.compile(r'Maximum Receive Rate Results \[(.*)\]')
 
+    REGEX_TC_TAG = re.compile(r'\d+[tT]\d+[cC]')
+
+    REGEX_TC_NAME_OLD = re.compile(r'-\d+[tT]\d+[cC]-')
+
+    REGEX_TC_NAME_NEW = re.compile(r'-\d+[cC]-')
+
     def __init__(self, metadata):
         """Initialisation.