Disabled brute-force shutdown test for threads on Qt - QThread is not able to deal with this.

This commit is contained in:
Matthias Koefferlein 2018-07-12 22:11:57 +02:00
parent ca8f9fd904
commit 03ddd495d8
1 changed files with 3 additions and 0 deletions

View File

@ -115,13 +115,16 @@ TEST(1_basic)
EXPECT_EQ (my_thread.value () >= 5 && my_thread.value () < 10, true);
}
#if !defined(HAVE_QT)
// basic: thread dtor while running
// NOTE: QThread can't handle this - the pthread-based implementation will terminate the thread in this case
TEST(1_brute_shutdown)
{
MyThread my_thread;
my_thread.start ();
EXPECT_EQ (true, true); // makes the compiler happy
}
#endif
// basic: concurrency, ability to stop async, wait
TEST(1_timed_wait)