diff --git a/test/unit/test_thread.cpp b/test/unit/test_thread.cpp
index 49d46d0539c479cee3f8f8357e42141651fcb049..3ef13c72386bc952c20980666428b2e9ea9032e6 100644
--- a/test/unit/test_thread.cpp
+++ b/test/unit/test_thread.cpp
@@ -72,7 +72,8 @@ TEST(task_system, test_copy) {
         ts.async(f, 0);
 
         // Copy into new ftor and move ftor into a task (std::function<void()>)
-        EXPECT_EQ(1, nmove);
+        // move ctor is elided with some compilers
+        //EXPECT_EQ(1, nmove);
         EXPECT_EQ(1, ncopy);
         reset();
     }
@@ -99,7 +100,8 @@ TEST(notification_queue, test_copy) {
     q.push({task(f), 0});
 
     // Copy into new ftor and move ftor into a task (std::function<void()>)
-    EXPECT_EQ(1, nmove);
+    // move ctor is elided with some compilers
+    //EXPECT_EQ(1, nmove);
     EXPECT_EQ(1, ncopy);
     reset();
 }