IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 2, 2008, 10:53:30 AM (19 years ago)
Author:
gusciora
Message:

Modified file reads to look for dataFiles and then ../dataFiles.
Other additions as well.
First version: tap_pmReadoutFake.c
First version: tap_pmReadoutStack.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/test/camera/tap_pmFPAConstruct.c

    r14882 r15987  
    1414    psLogSetLevel(PS_LOG_INFO);
    1515    psTraceSetLevel("err", ERR_TRACE_LEVEL);
    16     plan_tests(72);
     16    plan_tests(9);
    1717
    1818    // ----------------------------------------------------------------------
     
    3434    {
    3535        psMetadata *camera = psMetadataAlloc();
    36         bool rc = pmConfigFileRead(&camera, "data/camera0/camera.config", "CAMERA 0 config file");
     36        bool rc = pmConfigFileRead(&camera, "dataFiles/camera0/camera.config", "CAMERA 0 config file");
     37        if (!rc) {
     38             rc = pmConfigFileRead(&camera, "../dataFiles/camera0/camera.config", "CAMERA 0 config file");
     39        }
     40
    3741        // Generate the pmFPA heirarchy
    3842        psMemId id = psMemGetId();
     
    4448        }
    4549        bool errorFlag = false;
    46         ok(fpa->chips->n == 4, "pmFPAConstruct() set fpa->chips->n (%d)", fpa->chips->n);
     50        ok(fpa->chips->n == 2, "pmFPAConstruct() set fpa->chips->n (%d)", fpa->chips->n);
    4751        for (int chipID = 0 ; chipID < fpa->chips->n ; chipID++) {
    4852            pmChip *chip = fpa->chips->data[chipID];
Note: See TracChangeset for help on using the changeset viewer.