projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8429882
)
fixes assumption that test failed if it did not pass when generating results
author
David Vossel
<dvossel@digium.com>
Wed, 3 Mar 2010 00:04:28 +0000
(
00:04
+0000)
committer
David Vossel
<dvossel@digium.com>
Wed, 3 Mar 2010 00:04:28 +0000
(
00:04
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@250237
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/test.c
patch
|
blob
|
history
diff --git
a/main/test.c
b/main/test.c
index
02cb32b
..
4cf483b
100644
(file)
--- 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++;
}