IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 29, 2004, 3:05:37 PM (22 years ago)
Author:
desonia
Message:

fixed trace tests to compile but fail if psLib was compiled with PS_NO_TRACE set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sysUtils/tst_psTrace00.c

    r905 r1136  
    1616                            "psTraceSetLevel() and psTraceGetLevel()");
    1717    for (i=0;i<10;i++) {
    18         psTraceSetLevel(".", i);
     18        (void)psTraceSetLevel(".", i);
    1919        lev = psTraceGetLevel(".");
    2020        if (lev != i) {
     
    2424        }
    2525    }
    26     psTraceSetLevel(".", 3);
     26    (void)psTraceSetLevel(".", 3);
    2727
    2828    for (i=5;i<10;i++) {
    29         psTraceSetLevel(".NODE00", i);
     29        (void)psTraceSetLevel(".NODE00", i);
    3030        lev = psTraceGetLevel(".NODE00");
    3131        if (lev != i) {
     
    4444
    4545
    46     psTraceSetLevel(".NODE00.NODE01", 4);
     46    (void)psTraceSetLevel(".NODE00.NODE01", 4);
    4747    for (i=0;i<10;i++) {
    48         psTraceSetLevel(".NODE00.NODE01", i);
     48        (void)psTraceSetLevel(".NODE00.NODE01", i);
    4949        lev = psTraceGetLevel(".NODE00.NODE01");
    5050        if (lev != i) {
Note: See TracChangeset for help on using the changeset viewer.