shared/tester: retain test failure status
authorPauli Virtanen <pav@iki.fi>
Sun, 21 May 2023 15:27:35 +0000 (15:27 +0000)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000 (19:04 +0530)
commitaaaf518584555ac6d4413c745309391bebe4c586
tree0b048ce2aa79f8dbb8a21d2e384819fd73635f8e
parenta45de7250a64ae53d798c4f1a791625b48f203f6
shared/tester: retain test failure status

If a test has called tester_test_failed, consider the test failed, even
if the test also called tester_test_passed/abort.

This avoids reporting success for misbehaving tests that call the
status report functions multiple times.
src/shared/tester.c