IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12383


Ignore:
Timestamp:
Mar 9, 2007, 11:25:16 AM (19 years ago)
Author:
jhoblitt
Message:

ws

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/pstap/src/pstap.h

    r10822 r12383  
    66return exit_status()
    77
    8        # define mem() ok(psMemCheckLeaks(psMemGetLastId(), NULL, stdout, false) == 0, "Memory Leaks")
     8# define mem() ok(psMemCheckLeaks(psMemGetLastId(), NULL, stdout, false) == 0, "Memory Leaks")
    99
    10        # define checkLeaks false
     10# define checkLeaks false
    1111
    12        # define checkMem() if(checkLeaks) mem()
     12# define checkMem() if(checkLeaks) mem()
    1313
    14            # ifdef __GNUC__
     14# ifdef __GNUC__
    1515
    16            // write a comment which is counted as a test (and swallowed by prove)
    17            # define note(A, ...){ \
    18            fprintf(stdout, A, ## __VA_ARGS__); \
    19            fprintf(stdout, "\n[%s:%d in %s]\n", __FILE__, __LINE__, __func__); }
    20 
    21        // write a comment which is counted as a test (and swallowed by prove)
    22        # define noted(A, ...) _gen_result(1, __func__, __FILE__, __LINE__, A, ## __VA_ARGS__);
     16// write a comment which is counted as a test (and swallowed by prove)
     17# define note(A, ...){ \
     18fprintf(stdout, A, ## __VA_ARGS__); \
     19fprintf(stdout, "\n[%s:%d in %s]\n", __FILE__, __LINE__, __func__); }
     20// write a comment which is counted as a test (and swallowed by prove)
     21# define noted(A, ...) _gen_result(1, __func__, __FILE__, __LINE__, A, ## __VA_ARGS__);
    2322
    2423// use to test the value of a float
Note: See TracChangeset for help on using the changeset viewer.