Diff between a88c74e29b6ed7bc1e7e15ed4da2a58dc9b1bdf8 and 195b9abbae0e0a17e9f8217c67f7c12ccefa521a

Changed Files

File Additions Deletions Status
src/shared/tester.c +3 -0 modified

Full Patch

diff --git a/src/shared/tester.c b/src/shared/tester.c
index 34f8075..a1ee5b6 100644
--- a/src/shared/tester.c
+++ b/src/shared/tester.c
@@ -622,6 +622,9 @@ static void test_result(enum test_result result)
 		test->timeout_id = 0;
 	}
 
+	if (test->result == TEST_RESULT_FAILED)
+		result = TEST_RESULT_FAILED;
+
 	test->result = result;
 	switch (result) {
 	case TEST_RESULT_PASSED: