Temporarily disable "testStartStopWait" Threading unit test on mac
authorest31 <MTest31@outlook.com>
Mon, 4 Jul 2016 19:32:32 +0000 (21:32 +0200)
committerest31 <MTest31@outlook.com>
Mon, 4 Jul 2016 20:46:52 +0000 (22:46 +0200)
The "testStartStopWait" unit test is unreliably failing on mac,
for some time already. See bug #3786.

Having the unittest fail unreliably doesn't help anybody but mostly
inhibits the main feature of travis builds: to test PRs for regressions.

Therefore, disable the specific unit test for until bug #3786
is fixed.

src/unittest/test_threading.cpp

index f0df85b2d85da73d675dba175cbd75a9253fa9b5..224e123dfecaf58f6b7794cc1ee981574c832eab 100644 (file)
@@ -39,7 +39,9 @@ static TestThreading g_test_instance;
 
 void TestThreading::runTests(IGameDef *gamedef)
 {
+#if !(defined(__MACH__) && defined(__APPLE__))
        TEST(testStartStopWait);
+#endif
        TEST(testThreadKill);
        TEST(testAtomicSemaphoreThread);
 }