Skip to content

Commit 498a2c7

Browse files
committed
py-scripts/tools/lf_check.py LAN-4429 Hover information no longer shows up lf qa
Updated so that the meta data is generated. This will not pass bugbear that will need to be revisited Verified: // lf_check for email 192.168.100.132 CT-US-005 (resource #2 192.168.101.91) "args": [ "--json_rig","./ct_rig_json/ct_us_005_rig_AXE11000.json", "--json_dut","./ct_dut_json/ct_005_AXE11000_dut.json", "--json_test","./ct_tests_json/ct_us_005/ct_ap_auto/ct_ap_auto_basic_cx_005.json:ct_ap_auto_basic_cx_005", "--path","/home/lanforge/html-results/ct_us_005", "--log_level","debug" ] Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
1 parent e932971 commit 498a2c7

1 file changed

Lines changed: 21 additions & 8 deletions

File tree

py-scripts/tools/lf_check.py

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,7 +1964,9 @@ def run_script_test(self):
19641964
# log may contain multiple runs - this helps put the meta.txt
19651965
# in right directory
19661966
self.report_index = 0
1967-
for _ in range(self.test_iterations):
1967+
# for _ in range(self.test_iterations):
1968+
# self.iteration += 1
1969+
for self.iteration in range(self.test_iterations):
19681970
self.iteration += 1
19691971
# Runs the scripts
19701972
self.run_script()
@@ -1985,7 +1987,8 @@ def run_script_test(self):
19851987
# log may contain multiple runs - this helps put the meta.txt
19861988
# in right directory
19871989
self.report_index = 0
1988-
for _ in range(self.test_iterations):
1990+
# for _ in range(self.test_iterations):
1991+
for self.iteration in range(self.test_iterations):
19891992
# in batch mode need to set the VARIABLES back into the test
19901993
self.iteration += 1
19911994
# Runs the scripts
@@ -2006,7 +2009,8 @@ def run_script_test(self):
20062009
# log may contain multiple runs - this helps put the meta.txt
20072010
# in right directory
20082011
self.report_index = 0
2009-
for _ in range(self.test_iterations):
2012+
# for _ in range(self.test_iterations):
2013+
for self.iteration in range(self.test_iterations):
20102014
self.iteration += 1
20112015
# Runs the scripts
20122016
self.run_script()
@@ -2020,7 +2024,8 @@ def run_script_test(self):
20202024
# log may contain multiple runs - this helps put the meta.txt
20212025
# in right directory
20222026
self.report_index = 0
2023-
for _ in range(self.test_iterations):
2027+
# for _ in range(self.test_iterations):
2028+
for self.iteration in range(self.test_iterations):
20242029
# Runs the scripts
20252030
self.iteration += 1
20262031
self.run_script()
@@ -2253,15 +2258,23 @@ def main():
22532258
# Determine the number of iterations
22542259
total_iterations = 0
22552260
# for rig json (lanforge)
2256-
for _ in json_rig_list:
2261+
# for _ in json_rig_list:
2262+
# # for test json and suite
2263+
# for (_, _) in zip(json_test_list, suite_list):
2264+
# # for dut json
2265+
# for _ in json_dut_list:
2266+
# total_iterations += 1
22572267

2268+
# for rig json (lanforge)
2269+
for json_rig_name in json_rig_list:
22582270
# for test json and suite
2259-
for (_, _) in zip(json_test_list, suite_list):
2260-
2271+
for (json_test_name, suite_name) in zip(json_test_list, suite_list):
22612272
# for dut json
2262-
for _ in json_dut_list:
2273+
for (json_dut_name) in json_dut_list:
22632274
total_iterations += 1
22642275

2276+
logger.info(f"######### HERE ############# total_iterations: {total_iterations}")
2277+
22652278
iteration = 0
22662279

22672280
# test suite list for allure report

0 commit comments

Comments
 (0)