[asterisk-commits] rmudgett: trunk r403784 - in /trunk: ./ main/test.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 13 14:17:24 CST 2013
Author: rmudgett
Date: Fri Dec 13 14:17:22 2013
New Revision: 403784
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=403784
Log:
test.c: Fix too sticky unit test failed status.
Rerunning a failed unit test after loading any required modules should
allow the test to report a pass status if it now passes.
........
Merged revisions 403782 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
trunk/ (props changed)
trunk/main/test.c
Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Fri Dec 13 14:17:22 2013
@@ -1,1 +1,1 @@
-/branches/12:1-398558,398560-398577,398579-399305,399307-401390,401392-403290,403292-403398,403435,403458,403510,403527,403541-403542,403545,403559,403587,403616,403618,403639,403680,403705,403713,403736,403749,403752,403767,403781
+/branches/12:1-398558,398560-398577,398579-399305,399307-401390,401392-403290,403292-403398,403435,403458,403510,403527,403541-403542,403545,403559,403587,403616,403618,403639,403680,403705,403713,403736,403749,403752,403767,403781-403782
Modified: trunk/main/test.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/test.c?view=diff&rev=403784&r1=403783&r2=403784
==============================================================================
--- trunk/main/test.c (original)
+++ trunk/main/test.c Fri Dec 13 14:17:22 2013
@@ -250,6 +250,7 @@
test->state = AST_TEST_FAIL;
goto exit;
}
+ test->state = AST_TEST_NOT_RUN;
result = test->cb(&test->info, TEST_EXECUTE, test);
if (test->state != AST_TEST_FAIL) {
test->state = result;
More information about the asterisk-commits
mailing list