IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 28, 2006, 6:44:34 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.34

File:
1 edited

Legend:

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

    r8543 r8665  
    433433        psDB            *dbh;
    434434        char            exp_id[256];
    435         char            recipe[256];
    436435        psS32           p1_version;
    437436        psS32           p2_version;
     
    442441        }
    443442
    444         if (!p2DoneExpPop(dbh, (char **)&exp_id, (char **)&recipe, &p1_version, &p2_version)) {
    445             exit(EXIT_FAILURE);
    446         }
    447 
    448         psDBCleanup(dbh);
    449     }
    450 
    451     {
    452         psDB            *dbh;
    453         char            exp_id[256];
    454         char            class_id[256];
    455         char            uri[256];
    456         char            recipe[256];
     443        if (!p2ProcessedExpPop(dbh, (char **)&exp_id, &p1_version, &p2_version)) {
     444            exit(EXIT_FAILURE);
     445        }
     446
     447        psDBCleanup(dbh);
     448    }
     449
     450    {
     451        psDB            *dbh;
     452        char            exp_id[256];
     453        char            class_id[256];
     454        char            uri[256];
     455        char            recipe[256];
     456        psF64           bg;
     457        psF64           bg_stdev;
     458        psF64           bg_mean_stdev;
     459        char            b1_uri[256];
     460        char            b2_uri[256];
    457461        psS32           p1_version;
    458462        psS32           p2_version;
     
    463467        }
    464468
    465         if (!p2DoneImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&recipe, &p1_version, &p2_version)) {
    466             exit(EXIT_FAILURE);
    467         }
    468 
    469         psDBCleanup(dbh);
    470     }
    471 
    472     {
    473         psDB            *dbh;
    474         char            exp_id[256];
    475         char            recipe[256];
     469        if (!p2ProcessedImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&recipe, &bg, &bg_stdev, &bg_mean_stdev, (char **)&b1_uri, (char **)&b2_uri, &p1_version, &p2_version)) {
     470            exit(EXIT_FAILURE);
     471        }
     472
     473        psDBCleanup(dbh);
     474    }
     475
     476    {
     477        psDB            *dbh;
     478        char            exp_id[256];
    476479        psS32           p2_version;
    477480        psS32           p3_version;
     
    482485        }
    483486
    484         if (!p3PendingExpPop(dbh, (char **)&exp_id, (char **)&recipe, &p2_version, &p3_version)) {
     487        if (!p3PendingExpPop(dbh, (char **)&exp_id, &p2_version, &p3_version)) {
    485488            exit(EXIT_FAILURE);
    486489        }
Note: See TracChangeset for help on using the changeset viewer.