Test application will not terminate.

18 views
Skip to first unread message

Jakob Clausen

unread,
Sep 30, 2022, 4:07:36 AM9/30/22
to cpputest
When I run the test program, it does not terminate. I run it from terminal, and it stops at

[ 61%] Linking CXX executable TFComm_testrunner
unstructured
Ending
.
OK (1 tests, 1 ran, 9 checks, 0 ignored, 0 filtered out, 1602 ms)


And it does not terminate.
I run one test, and the testgroup looks like this

TEST_GROUP(SocketCommunication)
{
    int testTimeout;

    void setup()
    {
        LogBook::disableHistory();
    }

    void teardown()
    {
        SocketCommunication::clearAllThreads();
        std::cout << "Ending" << std::endl;
    }
};

What happens after this? What could make it not return?

Message has been deleted

Bas Vodde

unread,
Sep 30, 2022, 7:09:45 AM9/30/22
to cppu...@googlegroups.com
No problem, I’m glad you found it!

Bas

On 30 Sep 2022, at 10:57, Jakob Clausen <kaizer...@gmail.com> wrote:

Oh. My bad.
Hanging destructor.
--
You received this message because you are subscribed to the Google Groups "cpputest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cpputest+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cpputest/baea0cff-4207-44f4-84ce-5ab35ee5f88bn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages