IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 1, 2004, 1:04:35 PM (22 years ago)
Author:
gusciora
Message:

This is a fairly large checkin. I had been sitting on a lot of test code
that was not quite in sync with the current test harness. I modified it
somewhat so it mostly works with the test harness, though there are still
problems with the printFooter() function not having a status for "status
unknown". Also, the runTest is not correctly parsing my date strings in
psLogMsg calls. Also, I added an individual entry for each test in the
Makefile in the test directory. I did this because the generic rules were
failing, and I did not want to break the tests for those people who were
successfully using the generic rules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils/psTrace.h

    r556 r560  
    11#if !defined(PS_TRACE_H)
    22#define PS_TRACE_H 1
    3 #define UNKNOWN_TRACE_LEVEL -9999               // we don't know this name's level
     3#define UNKNOWN_TRACE_LEVEL -9999         // we don't know this name's level
     4#define DEFAULT_TRACE_LEVEL 0
    45
    56/** \file psTrace.h
     
    78 *  \ingroup SystemGroup
    89 */
     10
     11/*****************************************************************************
     12    A component is a string of the form aaa.bbb.ccc, and may itself contain
     13    further subcomponents.  The Component structure doesn't in fact contain
     14    it's full name, but only the last part.
     15 *****************************************************************************/
     16typedef struct Component
     17{
     18    const char *name;                     // last part of name of component
     19    int level;                            // trace level for this component
     20    int n;                                // number of subcomponents
     21    struct Component **subcomp;           // next level of subcomponents
     22}
     23Component;
    924
    1025/** Functions **************************************************************/
     
    2843;
    2944
    30 /// turn off all tracing, and free trace's allocated memory
    31 void psTraceReset(void)
     45/// Set all trace levels to zero (do not free nodes in the component tree).
     46void psTraceReset()
     47;
     48
     49/// Free all nodes in the component tree.
     50void psTraceFree()
    3251;
    3352
Note: See TracChangeset for help on using the changeset viewer.