Changeset 8368 for trunk/ippdb/tests/popfits.c
- Timestamp:
- Aug 15, 2006, 4:31:35 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/popfits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/popfits.c
r7461 r8368 700 700 } 701 701 702 if (!detNormalizedStatImfilePopFits(dbh, fits, 1)) { 703 exit(EXIT_FAILURE); 704 } 705 706 if (!psFitsClose(fits)) { 707 exit(EXIT_FAILURE); 708 } 709 710 psDBCleanup(dbh); 711 } 712 713 { 714 psDB *dbh; 715 psFits *fits; 716 717 dbh = psDBInit("localhost", "test", NULL, "test"); 718 if (!dbh) { 719 exit(EXIT_FAILURE); 720 } 721 722 // allocate a temp 723 fits = psFitsOpen(TMP_FILENAME, "w"); 724 if (!fits) { 725 exit(EXIT_FAILURE); 726 } 727 702 728 if (!detNormalizedImfilePopFits(dbh, fits, 1)) { 703 729 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
