aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_threading.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittest/test_threading.cpp')
-rw-r--r--src/unittest/test_threading.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unittest/test_threading.cpp b/src/unittest/test_threading.cpp
index f0df85b2d..cdbf9674e 100644
--- a/src/unittest/test_threading.cpp
+++ b/src/unittest/test_threading.cpp
@@ -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);
}
@@ -161,6 +163,7 @@ private:
void TestThreading::testAtomicSemaphoreThread()
{
Atomic<u32> val;
+ val = 0;
Semaphore trigger;
static const u8 num_threads = 4;