Skip to content

val: skip log context printing in Rule-Based builds#404

Merged
chetan-rathore merged 1 commit into
ARM-software:mainfrom
chetan-rathore:main
May 18, 2026
Merged

val: skip log context printing in Rule-Based builds#404
chetan-rathore merged 1 commit into
ARM-software:mainfrom
chetan-rathore:main

Conversation

@chetan-rathore
Copy link
Copy Markdown
Contributor

  • val_log_context() emitted a file:line + function banner before every test's header line, which produced noisy and mis-aligned output in builds that use the Rule-Based execution path.
  • Guard the body of val_log_context() with COMPILE_RB_EXE so the banner is suppressed in the Rule-Based build configuration while remaining available for the standard ACS build. The arguments are explicitly cast to void in the suppressed path to avoid unused-parameter warnings.

Change-Id: I3fb3de19ddd6d0e7afe7db84441dfcbbe6498302

- val_log_context() emitted a file:line + function banner before every test's header line, which produced noisy and mis-aligned output in builds that use the Rule-Based execution path.
- Guard the body of val_log_context() with COMPILE_RB_EXE so the banner is suppressed in the Rule-Based build configuration while remaining available for the standard ACS build. The arguments are explicitly cast to void in the suppressed path to avoid unused-parameter warnings.

Change-Id: I3fb3de19ddd6d0e7afe7db84441dfcbbe6498302
@chetan-rathore chetan-rathore merged commit 7d5733d into ARM-software:main May 18, 2026
29 checks passed
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