IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30968


Ignore:
Timestamp:
Mar 18, 2011, 11:33:39 AM (15 years ago)
Author:
rhenders
Message:

Added 'test mode', for unit testing

Location:
trunk/ippToPsps/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/src/Batch.c

    r30191 r30968  
    211211                haveSurveyType = true;
    212212            }
     213            else if(strcmp(sw, "-test") == 0 ) {
     214                this->testMode = true;
     215            }
    213216        }
    214217
     
    352355    this->pmconfig = NULL;
    353356    this->exitCode = PS_EXIT_SUCCESS;
    354 
     357    this->testMode = false;
     358
     359    // set up function pointers
    355360    this->parseArguments = parseArguments;
    356361    this->init = init;
  • trunk/ippToPsps/src/Batch.h

    r30774 r30968  
    4646    char todaysDate[20];        // today's date
    4747    int exitCode;               // ps exit code
     48    bool testMode;              // test mode boolean
    4849
    4950    // methods
Note: See TracChangeset for help on using the changeset viewer.