IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 18, 2005, 3:53:00 PM (22 years ago)
Author:
desonia
Message:

removed relative paths.

Location:
trunk/psLib/test/astronomy
Files:
4 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/Makefile

    r2930 r3056  
    33##  Makefile:   test/astronomy
    44##
    5 ##  $Revision: 1.25 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2005-01-07 23:52:00 $
     5##  $Revision: 1.26 $  $Name: not supported by cvs2svn $
     6##  $Date: 2005-01-19 01:53:00 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1616include ../../src/Makefile.Globals
    1717
    18 CFLAGS := -I../../include -I/usr/include/libxml $(CFLAGS)
     18CFLAGS := -I../../include \
     19  -DTIME_XML_FILE="\"$(TIME_XML_FILE)\"" \
     20  -DTIME_CONFIG_FILE="\"$(TIME_CONFIG_FILE)\"" \
     21  $(CFLAGS)
     22
    1923LDFLAGS := -L../../lib -lpslib -lpstest -lxml2 $(LDFLAGS)
    2024
     
    3842
    3943all: $(TARGET)
     44        sed 's|PREFIX|$(prefix)|' test.psTime.config1.template > test.psTime.config1
     45        sed 's|PREFIX|$(prefix)|' test.psTime.config2.template > test.psTime.config2
     46        sed 's|PREFIX|$(prefix)|' test.psTime.config3.template > test.psTime.config3
     47        sed 's|PREFIX|$(prefix)|' test.psTime.config4.template > test.psTime.config4
    4048
    4149clean:
     
    4957        install test.config header_1.fits header_2.fits $(TARGET) $(testbindir)
    5058        install verified/*.stderr verified/*.stdout $(testbindir)/verified
     59        install test.ser7.dat test.psTime.config1 test.psTime.config2 test.psTime.config3 test.psTime.config4 $(testbindir)
    5160
    5261$(testbindir):
  • trunk/psLib/test/astronomy/test.psTime.config1

    r2364 r3056  
    11# This configuration file specifies values required for time calculations by psLib.
    2 psLib.time.tables.dir STR ../../dataxz                                                    # Directory for time tables
     2psLib.time.tables.dir STR bogus                                                    # Directory for time tables
    33psLib.time.tables.n S32 4                                                               # Number of time tables
    44psLib.time.tables.files STR ser7.dat eopc01_1900_2004.dat finals_all.dat tai_utc.dat    # These are the table file names
  • trunk/psLib/test/astronomy/test.psTime.config2

    r2364 r3056  
    11# This configuration file specifies values required for time calculations by psLib.
    2 psLib.time.tables.dir STR ../../data                                                    # Directory for time tables
     2psLib.time.tables.dir STR /home/desonia/psLib/data                                                    # Directory for time tables
    33psLib.time.tables.n S32 4                                                               # Number of time tables
    44psLib.time.tables.files STR eopc01_1900_2004.dat finals_all.dat tai_utc.dat    # These are the table file names
  • trunk/psLib/test/astronomy/test.psTime.config3

    r2364 r3056  
    11# This configuration file specifies values required for time calculations by psLib.
    2 psLib.time.tables.dir STR ../../data                                                    # Directory for time tables
     2psLib.time.tables.dir STR /home/desonia/psLib/data                                                    # Directory for time tables
    33psLib.time.tables.n S32 4                                                               # Number of time tables
    44psLib.time.tables.files STR ser7.dat eopc01_1900_2004.dat finals_all.dat tai_utc.dat    # These are the table file names
  • trunk/psLib/test/astronomy/tst_psMetadata_07.c

    r2610 r3056  
    99*  @author  Ross Harman, MHPCC
    1010*
    11 *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
    12 *  @date  $Date: 2004-12-03 23:38:41 $
     11*  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
     12*  @date  $Date: 2005-01-19 01:53:00 $
    1313*
    1414*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1717#include "pslib.h"
    1818#include "psTest.h"
     19
     20#ifndef TIME_XML_FILE
     21#define TIME_XML_FILE "../../config/psTime.xml"
     22#pragma warning TIME_XML_FILE was not defined in the makefile.
     23#endif
    1924
    2025
     
    2631    psU32 nFail = 0;
    2732    psMetadata *md = NULL;
    28     md = psMetadataParseConfigXml(md, &nFail, "../../config/psTime.xml", true);
     33    md = psMetadataParseConfigXml(md, &nFail, TIME_XML_FILE, true);
    2934    if (nFail != 0) {
    3035        printf("psMetadataParseConfigXml returned error %d\n", res);
  • trunk/psLib/test/astronomy/tst_psTime_04.c

    r2725 r3056  
    1414 *  @author  Ross Harman, MHPCC
    1515 *
    16  *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
    17  *  @date  $Date: 2004-12-16 18:53:35 $
     16 *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
     17 *  @date  $Date: 2005-01-19 01:53:00 $
    1818 *
    1919 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2929    // Test A - Initialize time
    3030    printPositiveTestHeader(stdout, "psTime", "Test A - Initialize time");
    31     psLibInit(true, "../../config/psTime.config");
     31    psLibInit(true, TIME_CONFIG_FILE);
    3232    psLibFinalize();
    3333    printFooter(stdout, "psTime", "Test A - Initialize time", true);
  • trunk/psLib/test/astronomy/verified/tst_psTime_04.stderr

    r2726 r3056  
    44    Failed to initialize psTime.
    55<DATE><TIME>|<HOST>|E|psLookupTableRead (psLookupTable.c:<LINENO>)
    6     Failed to open file ../../dataxz/ser7.dat.
     6    Failed to open file bogus/ser7.dat.
    77<DATE><TIME>|<HOST>|E|psLookupTableRead (psLookupTable.c:<LINENO>)
    8     Failed to open file ../../dataxz/eopc01_1900_2004.dat.
     8    Failed to open file bogus/eopc01_1900_2004.dat.
    99<DATE><TIME>|<HOST>|E|psLookupTableRead (psLookupTable.c:<LINENO>)
    10     Failed to open file ../../dataxz/finals_all.dat.
     10    Failed to open file bogus/finals_all.dat.
    1111<DATE><TIME>|<HOST>|E|psLookupTableRead (psLookupTable.c:<LINENO>)
    12     Failed to open file ../../dataxz/tai_utc.dat.
     12    Failed to open file bogus/tai_utc.dat.
    1313<DATE><TIME>|<HOST>|E|p_psTimeInit (psTime.c:<LINENO>)
    1414    Incorrect number of table files entered. Found: 3. Expected: 4.
Note: See TracChangeset for help on using the changeset viewer.