Skip to content
Commit c8862db1 authored by Piotr Golyzniak's avatar Piotr Golyzniak Committed by Anas Nashif
Browse files

twister: add setting skip reason



When testcase written in ztest is skipped by ztest_test_skip() function,
then "SKIP" information is printed in output data. This "SKIP" result is
set as result of performed testcase, but the information about reason is
still "Unknown". This patch fix this problem and if all test scenario
has state "passed" (so testcases have result "PASS" or "SKIP"), reason
is still set as "Unknown" and if any of testcase has result "SKIP" then
set reason as "ztest skip".

Fixes #42414

Signed-off-by: default avatarPiotr Golyzniak <piotr.golyzniak@nordicsemi.no>
parent 32c4bd3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment