Added test tag

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
jitendracandela
2022-04-16 17:20:35 +05:30
parent 575d9facef
commit c754751414
2 changed files with 10 additions and 2 deletions

View File

@@ -207,7 +207,8 @@ class ApAutoTest(cvtest):
raw_lines=None,
raw_lines_file="",
sets=None,
graph_groups=None
graph_groups=None,
test_tag=""
):
super().__init__(lfclient_host=lf_host, lfclient_port=lf_port)
@@ -249,6 +250,7 @@ class ApAutoTest(cvtest):
self.graph_groups = graph_groups
self.lf_report_dir = lf_report_dir
self.local_lf_report_dir = local_lf_report_dir
self.test_tag = test_tag
def setup(self):
# Nothing to do at this time.
@@ -292,6 +294,8 @@ class ApAutoTest(cvtest):
cfg_options.append("max_stations_5: " + str(self.max_stations_5))
if self.max_stations_dual != -1:
cfg_options.append("max_stations_dual: " + str(self.max_stations_dual))
if self.test_tag != "":
cfg_options.append("test_tag: " + self.test_tag)
# We deleted the scenario earlier, now re-build new one line at a time.
self.build_cfg(self.config_name, blob_test, cfg_options)

View File

@@ -137,7 +137,8 @@ class DataplaneTest(cv_test):
raw_lines_file="",
sets=None,
graph_groups=None,
test_rig=""
test_rig="",
test_tag=""
):
super().__init__(lfclient_host=lf_host, lfclient_port=lf_port)
@@ -173,6 +174,7 @@ class DataplaneTest(cv_test):
self.ssh_port = ssh_port
self.local_lf_report_dir = local_lf_report_dir
self.test_rig = test_rig
self.test_tag = test_tag
def setup(self):
# Nothing to do at this time.
@@ -211,6 +213,8 @@ class DataplaneTest(cv_test):
cfg_options.append("selected_dut: " + self.dut)
if self.test_rig != "":
cfg_options.append("test_rig: " + self.test_rig)
if self.test_tag != "":
cfg_options.append("test_tag: " + self.test_tag)
# We deleted the scenario earlier, now re-build new one line at a time.