Skip to content

Commit 36a194b

Browse files
committed
twister: Try to show more build failures
Some Build failures are actually cmake issues, so in that case, if nothing is found as build failure, try to parse for cmake issues. Signed-off-by: Anas Nashif <[email protected]>
1 parent 4f86a61 commit 36a194b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

scripts/pylib/twister/twisterlib/reports.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,10 @@ def get_detailed_reason(self, reason: str, log: str) -> str:
800800
if error_key := self._parse_cmake_build_failure(log):
801801
return f"{reason} - {error_key}"
802802
elif reason == 'Build failure': # noqa SIM102
803-
if error_key := self._parse_build_failure(log):
803+
error_key = self._parse_build_failure(log)
804+
if error_key:
805+
return f"{reason} - {error_key}"
806+
elif error_key := self._parse_cmake_build_failure(log):
804807
return f"{reason} - {error_key}"
805808
return reason
806809

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ manifest:
117117
groups:
118118
- babblesim
119119
- name: cmsis
120-
revision: d1b8b20b6278615b00e136374540eb1c00dcabe7
120+
revision: pull/26/head
121121
path: modules/hal/cmsis
122122
groups:
123123
- hal

0 commit comments

Comments
 (0)