Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposed the LMT config as part of test_info. #29

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/pci_lmt/collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ def run_lmt(
test_info.error_count_limit = args.error_count_limit
test_info.force_margin = args.force_margin
test_info.test_version = PCI_LMT_VERSION
test_info.config = str(config)

for group in config.lmt_groups:
test_info.margin_type = group.margin_type
Expand Down
1 change: 1 addition & 0 deletions src/pci_lmt/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class LmtTestInfo: # pylint: disable=too-many-instance-attributes,too-few-publi
error_count_limit: int = -1
test_version: str = ""
annotation: str = ""
config: str = ""


@dc.dataclass
Expand Down
Loading