Skip to content

Conversation

@Ashishsharma1903
Copy link
Contributor

  • Modified count_fails_in_json() in merge_jsons.py to prevent counting individual subtest failures
  • BSA testcase FAILED status already captures failed subtests; removed redundant subtest counting loop
  • Only sets any_subtests_found flag when subtests exist, avoiding double-counting
  • Ensures merged JSON failure count matches ACS Summary (e.g., testcase with failed subtest counts as 1, not 2)
  • Fix isolated to BSA/SBSA structure; does not affect FWTS, SCT, SBMR, or standalone suite counting

Signed-off-by: Ashish Sharma ashish.sharma2@arm.com
Change-Id: Ib33e917eb7591119e9c3a09651f833a2187c2ce8

…tion

- logs_to_json.py: Detect indentation after timestamp removal to fix kernel log parsing
- Kernel logs format [timestamp]     START caused subtests to be counted as main tests
- merge_jsons.py: Remove redundant subtest failure counting in BSA structure
- BSA testcase FAILED status already includes failed subtests, preventing double-counting
- Result: Correct test count (72 instead of 93) and failure count (1 instead of 2 per testcase)

Signed-off-by: Ashish Sharma <ashish.sharma2@arm.com>
Change-Id: I8aef6b2a71a5ed090026fa4d321940a27763e70b
@Ashishsharma1903
Copy link
Contributor Author

made a different one with another change

@Ashishsharma1903 Ashishsharma1903 deleted the bug-fix-bsa branch December 15, 2025 09:11
@Ashishsharma1903 Ashishsharma1903 restored the bug-fix-bsa branch December 15, 2025 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant