You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
utils: add emit_result_and_signal() with log_pass/fail/skip wrappers
Introduce emit_result_and_signal() to standardize writing test results to
.res files and emitting LAVA-compatible result signals to stderr. This
function ensures compatibility with both direct test execution and
suite-based runs using run-test.sh.
Adds:
- emit_result_and_signal(TESTCASE, RESULT)
- log_pass_and_emit()
- log_fail_and_emit()
- log_skip_and_emit()
This avoids direct 'echo > .res' in run.sh, enables proper result accumulation,
and ensures LAVA signals are robust even under dmesg log flooding.
Signed-off-by: Srikanth Muppandam <[email protected]>
0 commit comments