Skip to content
Snippets Groups Projects
Commit 7b51d1d7 authored by David Vossel's avatar David Vossel
Browse files

fixes assumption that test failed if it did not pass when generating results

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@250237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 8429882a
Branches
Tags
No related merge requests found
...@@ -281,7 +281,7 @@ static int test_execute_multiple(const char *name, const char *category, struct ...@@ -281,7 +281,7 @@ static int test_execute_multiple(const char *name, const char *category, struct
last_results.last_time += test->time; last_results.last_time += test->time;
if (test->state == AST_TEST_PASS) { if (test->state == AST_TEST_PASS) {
last_results.last_passed++; last_results.last_passed++;
} else { } else if (test->state == AST_TEST_FAIL) {
last_results.last_failed++; last_results.last_failed++;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment