IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 25, 2008, 1:14:07 PM (18 years ago)
Author:
jhoblitt
Message:

add warpMask table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippdb/tests/insertfits.c

    r16731 r17144  
    518518        }
    519519
     520        if (!warpMaskInsertFits(dbh, fits)) {
     521            exit(EXIT_FAILURE);
     522        }
     523
     524        if (!psFitsClose(fits)) {
     525            exit(EXIT_FAILURE);
     526        }
     527
     528        psDBCleanup(dbh);
     529    }
     530
     531    {
     532        psDB            *dbh;
     533        psFits          *fits;
     534
     535        dbh = psDBInit("localhost", "test", NULL, "test");
     536        if (!dbh) {
     537            exit(EXIT_FAILURE);
     538        }
     539
     540        // open a temp
     541        fits = psFitsOpen(TMP_FILENAME, "r");
     542        if (!fits) {
     543            exit(EXIT_FAILURE);
     544        }
     545
    520546        if (!diffRunInsertFits(dbh, fits)) {
    521547            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.