IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 18, 2004, 2:09:57 PM (22 years ago)
Author:
desonia
Message:

fixed the check in runTest to ignore the upper bits of a return value.

File:
1 edited

Legend:

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

    r586 r723  
    5252    wait(&childReturn);
    5353
     54    childReturn &= 0x7f;
     55
     56    if (childReturn != expectedReturn) {
     57        fprintf(fp,"Return value mismatch: expected %d, got %d",expectedReturn,childReturn);
     58    }
     59
    5460    p_printFooter(fp,testPointFile,packageName,testPointName, (childReturn==expectedReturn));
    5561
Note: See TracChangeset for help on using the changeset viewer.