Skip to content

Commit 515dd63

Browse files
committed
refactor: Print suite name before running
Signed-off-by: Xuanwo <github@xuanwo.io>
1 parent f02aa84 commit 515dd63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/logictest/logictest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ def execute(self):
308308
if callable(getattr(self, "batch_execute")):
309309
# case batch
310310
for (file_path, suite_name) in self.statement_files:
311+
log.info(f"Suite: {file_path} started")
312+
311313
self.suite_now = suite_name
312314
statement_list = list()
313315
for state in get_statements(file_path, suite_name):
@@ -322,7 +324,7 @@ def execute(self):
322324
e)
323325
continue
324326

325-
log.info(f"Suite file:{file_path} pass!")
327+
log.info(f"Suite: {file_path} passed")
326328
else:
327329
raise RuntimeError(
328330
f"batch_execute is not implement in runner {self.kind}")

0 commit comments

Comments
 (0)