summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/test.c b/main/test.c
index 94713e0e7..170bba658 100644
--- a/main/test.c
+++ b/main/test.c
@@ -250,6 +250,7 @@ static void test_execute(struct ast_test *test)
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;