Răsfoiți Sursa

ENH: add flush

Bill Hoffman 24 ani în urmă
părinte
comite
2c0f4f6725
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      Source/ctest.cxx

+ 1 - 0
Source/ctest.cxx

@@ -139,6 +139,7 @@ void ctest::ProcessDirectory(int &passed, int &failed)
           continue;
           }
         fprintf(stderr,"Testing %-30s ",args[0].c_str());
+        fflush(stderr);
         //std::cerr << "Testing " << args[0] << " ... ";
         // find the test executable
         std::string testCommand =