]> rtime.felk.cvut.cz Git - frescor/forb.git/commitdiff
forb: Destroy forb at the end of executor_test
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 18 Feb 2011 23:27:42 +0000 (00:27 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 18 Feb 2011 23:27:42 +0000 (00:27 +0100)
This make wvtest happy because it closes all the file descriptors
that were open by FORB so the final check in wvmain passes.

Now, all wvtests passes!

src/tests/executor/executor_test.c

index 2049a5c107502103bb1186ee0e60d9cc67af1a1b..223852a2fe4a22b7a851ced4e573af4fbdd8e69c 100644 (file)
@@ -107,4 +107,6 @@ WVTEST_MAIN("inter_thread_invocation")
        /* Direct invocation in the same executor: (application->)executor->executor */
        WVPASSEQ(executor_test_add_indirect(testobj1, testobj1, 1, &env), 2);
        WVFAIL(forb_exception_occurred(&env));
+
+       forb_destroy(orb);
 }