Ignore:
Timestamp:
01/03/2008 22:37:04 (4 years ago)
Author:
chris
Message:

Flush standard output when finishing test, useful on Windows where it
happens rarely and test output can end up below the PASSED line and
confuse the runtest script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/infrastructure/buildenv-testmain-template.cpp

    r2082 r2098  
    311311                int returncode = test(argc, (const char **)argv); 
    312312                Timers::Cleanup(); 
     313 
     314                fflush(stdout); 
     315                fflush(stderr); 
    313316                 
    314317                // check for memory leaks, if enabled 
     
    327330                { 
    328331                        bool filesleftopen = checkfilesleftopen(); 
     332 
     333                        fflush(stdout); 
     334                        fflush(stderr); 
     335                 
    329336                        if(filesleftopen) 
    330337                        { 
Note: See TracChangeset for help on using the changeset viewer.