Changeset 15987 for trunk/psModules/test/camera/tap_pmFPAConstruct.c
- Timestamp:
- Jan 2, 2008, 10:53:30 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/test/camera/tap_pmFPAConstruct.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/camera/tap_pmFPAConstruct.c
r14882 r15987 14 14 psLogSetLevel(PS_LOG_INFO); 15 15 psTraceSetLevel("err", ERR_TRACE_LEVEL); 16 plan_tests( 72);16 plan_tests(9); 17 17 18 18 // ---------------------------------------------------------------------- … … 34 34 { 35 35 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 37 41 // Generate the pmFPA heirarchy 38 42 psMemId id = psMemGetId(); … … 44 48 } 45 49 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); 47 51 for (int chipID = 0 ; chipID < fpa->chips->n ; chipID++) { 48 52 pmChip *chip = fpa->chips->data[chipID];
Note:
See TracChangeset
for help on using the changeset viewer.
