Ver Fonte

Tests/CMakeLib: Remove stray output from test loop

Brad King há 1 ano atrás
pai
commit
2a6f86ec5e
1 ficheiros alterados com 2 adições e 3 exclusões
  1. 2 3
      Tests/CMakeLib/testCommon.h

+ 2 - 3
Tests/CMakeLib/testCommon.h

@@ -40,10 +40,9 @@ inline int runTests(std::initializer_list<std::function<bool()>> const& tests,
         break;
       }
     }
-    std::cout << '.';
   }
-  if (!result) {
-    std::cout << " Passed\n";
+  if (result == 0) {
+    std::cout << "Passed\n";
   }
   return result;
 }