jorton      2002/11/11 14:46:57

  Modified:    test     CuTest.c
  Log:
  Flush stdout after printing the test name but before running the tests.
  (better feedback whilst running the sleep tests)
  
  Revision  Changes    Path
  1.8       +1 -0      apr/test/CuTest.c
  
  Index: CuTest.c
  ===================================================================
  RCS file: /home/cvs/apr/test/CuTest.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- CuTest.c  24 Oct 2002 00:29:17 -0000      1.7
  +++ CuTest.c  11 Nov 2002 22:46:57 -0000      1.8
  @@ -383,6 +383,7 @@
   
                printf("    %s:%s", testCase->name, 
                                     genspaces(21 - strlen(testCase->name)));
  +             fflush(stdout);
                CuSuiteRun(testCase);
                CuSuiteSummary(testCase, str);
                printf("    %s", str->buffer);
  
  
  

Reply via email to