commit | 249ed0ad77dc229862cc4ec2022f838856c9006b | [log] [tgz] |
---|---|---|
author | Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com> | Thu May 15 09:43:44 2025 +0100 |
committer | Anders Roxell <anders.roxell@gmail.com> | Thu May 15 13:15:55 2025 +0200 |
tree | 42cbb64c89d723ca05924ea4af0575a91932bc08 | |
parent | 975b3d4bc03401ea9c5c6e078e1f3ac601561121 [diff] |
automated: lib: modify check_return to support xfail xfail tanslates to "expected failure". This implementation assumes that exit code different than 0 means failure. The patch modifies check_return to accept additional parameter "xfail". If the parameter is set, exit code 0 will be considered "fail" and exit code different than 0 will be considered "pass". Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>