diff --git a/py-scripts/lf_ap_auto_test.py b/py-scripts/lf_ap_auto_test.py index 410f5bac..be35357a 100755 --- a/py-scripts/lf_ap_auto_test.py +++ b/py-scripts/lf_ap_auto_test.py @@ -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) diff --git a/py-scripts/lf_dataplane_test.py b/py-scripts/lf_dataplane_test.py index 2362a8c3..8a8223c7 100755 --- a/py-scripts/lf_dataplane_test.py +++ b/py-scripts/lf_dataplane_test.py @@ -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.