IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7948


Ignore:
Timestamp:
Jul 20, 2006, 2:08:15 PM (20 years ago)
Author:
drobbin
Message:

Fixed make fail stemming from psMetadataConfigParse argument and return change to psTimeConvert (test).

Location:
trunk/psLib/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astro/tst_psTime_01.c

    r7707 r7948  
    2323 *  @author  Eric Van Alst, MHPCC
    2424 *
    25  *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
    26  *  @date  $Date: 2006-06-27 20:33:22 $
     25 *  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
     26 *  @date  $Date: 2006-07-21 00:08:15 $
    2727 *
    2828 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    801801    time2 = psTimeConvert(time1,-100);
    802802    // Verify return value is NULL
    803     if(time2 != time1) {
     803    if(time2 != NULL) {
    804804        psError(PS_ERR_UNKNOWN,true,"Did not return time for invalid type to convert to");
    805805        return 2;
     
    809809    time2 = psTimeConvert(time1,-100);
    810810    // Verify return value is NULL
    811     if(time2 != time1) {
     811    if(time2 != NULL) {
    812812        psError(PS_ERR_UNKNOWN,true,"Did not return time for invalid type to convert to");
    813813        return 2;
     
    817817    time2 = psTimeConvert(time1,-100);
    818818    // Verify return value is NULL
    819     if(time2 != time1) {
     819    if(time2 != NULL) {
    820820        psError(PS_ERR_UNKNOWN,true,"Did not return time for invalid type to convert to");
    821821        return 2;
     
    825825    time2 = psTimeConvert(time1,PS_TIME_TAI);
    826826    // Verify return value is NULL
    827     if(time2 != time1) {
     827    if(time2 != NULL) {
    828828        psError(PS_ERR_UNKNOWN,true,"Did not return time for invalid type to convert to");
    829829        return 2;
     
    11261126    psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error message converting from UT1");
    11271127    time2 = psTimeConvert(time1,PS_TIME_UTC);
    1128     if(time2 != time1) {
     1128    if(time2 != NULL) {
    11291129        psError(PS_ERR_UNKNOWN,true,"Did not return time for conversion from UT1");
    11301130        return 23;
  • trunk/psLib/test/types/tap_psMetadataConfigParse.c

    r7936 r7948  
    150150    generateMDConfig();
    151151
    152     int numBadLines = 0;            // Number of bad lines
     152    unsigned int numBadLines = 0;            // Number of bad lines
    153153    psMetadata *md = psMetadataConfigParse(NULL, &numBadLines, FILENAME, false);
    154154    ok(md, "md = %x", md);
Note: See TracChangeset for help on using the changeset viewer.