IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2752


Ignore:
Timestamp:
Dec 17, 2004, 11:46:44 AM (22 years ago)
Author:
desonia
Message:

Added fflush of stdout/stderr after call to each test function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/psTest.c

    r2392 r2752  
    150150            psS32 currentId = psMemGetId();
    151151            psS32 retVal = fcn();
     152            fflush(stdout);
     153            fflush(stderr);
    152154            if ( retVal == 0 ) { // only bother checking memory if test executed to end.
    153155                if ( psMemCheckLeaks( currentId, NULL, stderr, false ) != 0 ) {
     
    174176        psS32 currentId = psMemGetId();
    175177        childReturn = fcn();
     178        fflush(stdout);
     179        fflush(stderr);
    176180        if ( childReturn == 0 ) { // only bother checking memory if test executed to end.
    177181            if ( psMemCheckLeaks( currentId, NULL, stderr, false ) != 0 ) {
Note: See TracChangeset for help on using the changeset viewer.