diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-03 00:04:28 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-03 00:04:28 +0000 |
commit | 7b56cffd499c87ab973c14afbf939807710dd969 (patch) | |
tree | e5bed2617f5dd107c12073a6ab8a677beadd9ff4 /main/test.c | |
parent | 87fa537a2829ea0e7844654dc7c6f86f2b914c1c (diff) |
fixes assumption that test failed if it did not pass when generating results
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@250237 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/test.c')
-rw-r--r-- | main/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/test.c b/main/test.c index 02cb32b94..4cf483b2b 100644 --- a/main/test.c +++ b/main/test.c @@ -281,7 +281,7 @@ static int test_execute_multiple(const char *name, const char *category, struct last_results.last_time += test->time; if (test->state == AST_TEST_PASS) { last_results.last_passed++; - } else { + } else if (test->state == AST_TEST_FAIL) { last_results.last_failed++; } |