Changeset 3059
- Timestamp:
- Jan 18, 2005, 4:17:05 PM (22 years ago)
- Files:
-
- 9 deleted
- 20 edited
-
branches/rel4/psLib/psLib.kdevelop.pcs (modified) ( previous)
-
branches/rel4/psLib/psLib.kdevses (modified) (2 diffs)
-
branches/rel4/psLib/src/Makefile (modified) (3 diffs)
-
branches/rel4/psLib/src/Makefile.Globals (modified) (2 diffs)
-
branches/rel4/psLib/test/astronomy/Makefile (modified) (4 diffs)
-
branches/rel4/psLib/test/astronomy/test.psTime.config1 (modified) (1 diff)
-
branches/rel4/psLib/test/astronomy/test.psTime.config2 (modified) (1 diff)
-
branches/rel4/psLib/test/astronomy/test.psTime.config3 (modified) (1 diff)
-
branches/rel4/psLib/test/astronomy/tst_psMetadata_07.c (modified) (3 diffs)
-
branches/rel4/psLib/test/astronomy/tst_psTime_04.c (modified) (2 diffs)
-
branches/rel4/psLib/test/astronomy/verified/tst_psTime_04.stderr (modified) (1 diff)
-
branches/rel4/psLib/test/collections/tst_psMetadata_07.c (modified) (3 diffs)
-
branches/rel4/psLib/test/dataIO/Makefile (modified) (3 diffs)
-
branches/rel4/psLib/test/dataIO/tst_psLookupTable_01.c (modified) (5 diffs)
-
branches/rel4/psLib/test/dataManip (modified) (1 prop)
-
branches/rel4/psLib/test/dataManip/.cvsignore (modified) (1 diff)
-
branches/rel4/psLib/test/fileUtils/Makefile (modified) (3 diffs)
-
branches/rel4/psLib/test/fileUtils/tst_psLookupTable_01.c (modified) (5 diffs)
-
branches/rel4/psLib/test/sysUtils/verified/tst_psHash00.stderr (deleted)
-
branches/rel4/psLib/test/sysUtils/verified/tst_psHash00.stdout (deleted)
-
branches/rel4/psLib/test/sysUtils/verified/tst_psHash01.stderr (deleted)
-
branches/rel4/psLib/test/sysUtils/verified/tst_psHash01.stdout (deleted)
-
branches/rel4/psLib/test/sysUtils/verified/tst_psHash02.stderr (deleted)
-
branches/rel4/psLib/test/sysUtils/verified/tst_psHash03.stderr (deleted)
-
branches/rel4/psLib/test/sysUtils/verified/tst_psHash03.stdout (deleted)
-
branches/rel4/psLib/test/sysUtils/verified/tst_psHash04.stderr (deleted)
-
branches/rel4/psLib/test/sysUtils/verified/tst_psHash04.stdout (deleted)
-
trunk/psLib/test/dataManip (modified) (1 prop)
-
trunk/psLib/test/dataManip/.cvsignore (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/rel4/psLib/psLib.kdevses
r3025 r3059 2 2 <!DOCTYPE KDevPrjSession> 3 3 <KDevPrjSession> 4 <DocsAndViews NumberOfDocuments=" 8" >4 <DocsAndViews NumberOfDocuments="6" > 5 5 <Doc0 NumberOfViews="1" URL="file:/home/desonia/psLib/test/fileUtils/tst_psFits.c" > 6 <View0 Type="Source" />6 <View0 line="96" Type="Source" /> 7 7 </Doc0> 8 8 <Doc1 NumberOfViews="1" URL="file:/home/desonia/psLib/src/fileUtils/psFits.h" > … … 10 10 </Doc1> 11 11 <Doc2 NumberOfViews="1" URL="file:/home/desonia/psLib/src/fileUtils/psFits.c" > 12 <View0 Type="Source" />12 <View0 line="1217" Type="Source" /> 13 13 </Doc2> 14 <Doc3 NumberOfViews="1" URL="file:/home/desonia/psLib/src/ image/psImage.h" >15 <View0 Type="Source" />14 <Doc3 NumberOfViews="1" URL="file:/home/desonia/psLib/src/mainpage.dox" > 15 <View0 line="95" Type="Source" /> 16 16 </Doc3> 17 <Doc4 NumberOfViews="1" URL="file:/home/desonia/psLib/src/ image/psImageIO.c" >18 <View0 Type="Source" />17 <Doc4 NumberOfViews="1" URL="file:/home/desonia/psLib/src/Makefile.Globals" > 18 <View0 line="43" Type="Source" /> 19 19 </Doc4> 20 <Doc5 NumberOfViews="1" URL="file:/home/desonia/psLib/src/ fileUtils/psFileUtilsErrors.dat" >21 <View0 Type="Source" />20 <Doc5 NumberOfViews="1" URL="file:/home/desonia/psLib/src/Doxyfile" > 21 <View0 line="25" Type="Source" /> 22 22 </Doc5> 23 <Doc6 NumberOfViews="1" URL="file:/home/desonia/psLib/src/image/psImageErrors.dat" >24 <View0 Type="Source" />25 </Doc6>26 <Doc7 NumberOfViews="1" URL="file:/home/desonia/psLib/src/sysUtils/psLogMsg.h" >27 <View0 line="36" Type="Source" />28 </Doc7>29 23 </DocsAndViews> 30 24 <pluginList> -
branches/rel4/psLib/src/Makefile
r2681 r3059 3 3 ## Makefile: psLib 4 4 ## 5 ## $Revision: 1.19 $ $Name: not supported by cvs2svn $6 ## $Date: 200 4-12-10 02:50:14 $5 ## $Revision: 1.19.2.1 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2005-01-19 02:17:04 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 54 54 55 55 all: $(ALLTARGETS) 56 sed 's|PREFIX|$(prefix)|' $(TIME_CONFIG_FILE).template > $(TIME_CONFIG_FILE) 56 57 $(BUILD_DYNAMIC1) $(TARGET_STATIC) $(BUILD_DYNAMIC2) $(TARGET_DYNAMIC) 57 58 @echo "" … … 199 200 install *.h $(includedir) 200 201 install $(TARGET_STATIC) $(libexecdir) 202 install $(TARGET_DYNAMIC) $(libexecdir) 201 203 install $(TARGET_DYNAMIC) $(libexecdir) 202 204 -
branches/rel4/psLib/src/Makefile.Globals
r2879 r3059 6 6 ## Assumptions: Variable "prefix" already defined 7 7 ## 8 ## $Revision: 1.38 $ $Name: not supported by cvs2svn $9 ## $Date: 2005-01- 04 02:34:56$8 ## $Revision: 1.38.2.1 $ $Name: not supported by cvs2svn $ 9 ## $Date: 2005-01-19 02:17:04 $ 10 10 ## 11 11 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 43 43 ifndef TIME_CONFIG_FILE 44 44 export TIME_CONFIG_FILE = $(prefix)/config/psTime.config 45 endif 46 47 ifndef TIME_XML_FILE 48 export TIME_XML_FILE = $(prefix)/config/psTime.xml 45 49 endif 46 50 -
branches/rel4/psLib/test/astronomy/Makefile
r2930 r3059 3 3 ## Makefile: test/astronomy 4 4 ## 5 ## $Revision: 1.25 $ $Name: not supported by cvs2svn $6 ## $Date: 2005-01- 07 23:52:00$5 ## $Revision: 1.25.2.1 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2005-01-19 02:17:04 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 16 16 include ../../src/Makefile.Globals 17 17 18 CFLAGS := -I../../include -I/usr/include/libxml $(CFLAGS) 18 CFLAGS := -I../../include \ 19 -DTIME_XML_FILE="\"$(TIME_XML_FILE)\"" \ 20 -DTIME_CONFIG_FILE="\"$(TIME_CONFIG_FILE)\"" \ 21 $(CFLAGS) 22 19 23 LDFLAGS := -L../../lib -lpslib -lpstest -lxml2 $(LDFLAGS) 20 24 … … 38 42 39 43 all: $(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 40 48 41 49 clean: … … 49 57 install test.config header_1.fits header_2.fits $(TARGET) $(testbindir) 50 58 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) 51 60 52 61 $(testbindir): -
branches/rel4/psLib/test/astronomy/test.psTime.config1
r2364 r3059 1 1 # This configuration file specifies values required for time calculations by psLib. 2 psLib.time.tables.dir STR ../../dataxz# Directory for time tables2 psLib.time.tables.dir STR bogus # Directory for time tables 3 3 psLib.time.tables.n S32 4 # Number of time tables 4 4 psLib.time.tables.files STR ser7.dat eopc01_1900_2004.dat finals_all.dat tai_utc.dat # These are the table file names -
branches/rel4/psLib/test/astronomy/test.psTime.config2
r2364 r3059 1 1 # This configuration file specifies values required for time calculations by psLib. 2 psLib.time.tables.dir STR ../../data # Directory for time tables2 psLib.time.tables.dir STR /home/desonia/psLib/data # Directory for time tables 3 3 psLib.time.tables.n S32 4 # Number of time tables 4 4 psLib.time.tables.files STR eopc01_1900_2004.dat finals_all.dat tai_utc.dat # These are the table file names -
branches/rel4/psLib/test/astronomy/test.psTime.config3
r2364 r3059 1 1 # This configuration file specifies values required for time calculations by psLib. 2 psLib.time.tables.dir STR ../../data # Directory for time tables2 psLib.time.tables.dir STR /home/desonia/psLib/data # Directory for time tables 3 3 psLib.time.tables.n S32 4 # Number of time tables 4 4 psLib.time.tables.files STR ser7.dat eopc01_1900_2004.dat finals_all.dat tai_utc.dat # These are the table file names -
branches/rel4/psLib/test/astronomy/tst_psMetadata_07.c
r2610 r3059 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $12 * @date $Date: 200 4-12-03 23:38:41$11 * @version $Revision: 1.5.2.1 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-01-19 02:17:04 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 17 17 #include "pslib.h" 18 18 #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 19 24 20 25 … … 26 31 psU32 nFail = 0; 27 32 psMetadata *md = NULL; 28 md = psMetadataParseConfigXml(md, &nFail, "../../config/psTime.xml", true);33 md = psMetadataParseConfigXml(md, &nFail, TIME_XML_FILE, true); 29 34 if (nFail != 0) { 30 35 printf("psMetadataParseConfigXml returned error %d\n", res); -
branches/rel4/psLib/test/astronomy/tst_psTime_04.c
r2725 r3059 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $17 * @date $Date: 200 4-12-16 18:53:35$16 * @version $Revision: 1.5.2.1 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-01-19 02:17:04 $ 18 18 * 19 19 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 29 29 // Test A - Initialize time 30 30 printPositiveTestHeader(stdout, "psTime", "Test A - Initialize time"); 31 psLibInit(true, "../../config/psTime.config");31 psLibInit(true, TIME_CONFIG_FILE); 32 32 psLibFinalize(); 33 33 printFooter(stdout, "psTime", "Test A - Initialize time", true); -
branches/rel4/psLib/test/astronomy/verified/tst_psTime_04.stderr
r2726 r3059 4 4 Failed to initialize psTime. 5 5 <DATE><TIME>|<HOST>|E|psLookupTableRead (psLookupTable.c:<LINENO>) 6 Failed to open file ../../dataxz/ser7.dat.6 Failed to open file bogus/ser7.dat. 7 7 <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. 9 9 <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. 11 11 <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. 13 13 <DATE><TIME>|<HOST>|E|p_psTimeInit (psTime.c:<LINENO>) 14 14 Incorrect number of table files entered. Found: 3. Expected: 4. -
branches/rel4/psLib/test/collections/tst_psMetadata_07.c
r2611 r3059 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $12 * @date $Date: 200 4-12-03 23:38:41$11 * @version $Revision: 1.5.2.1 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-01-19 02:17:04 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 17 17 #include "pslib.h" 18 18 #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 19 24 20 25 … … 26 31 psU32 nFail = 0; 27 32 psMetadata *md = NULL; 28 md = psMetadataParseConfigXml(md, &nFail, "../../config/psTime.xml", true);33 md = psMetadataParseConfigXml(md, &nFail, TIME_XML_FILE, true); 29 34 if (nFail != 0) { 30 35 printf("psMetadataParseConfigXml returned error %d\n", res); -
branches/rel4/psLib/test/dataIO/Makefile
r2962 r3059 3 3 ## Makefile: test/fileUtils 4 4 ## 5 ## $Revision: 1.2 $ $Name: not supported by cvs2svn $6 ## $Date: 2005-01-1 2 22:17:02$5 ## $Revision: 1.2.2.1 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2005-01-19 02:17:05 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 16 16 include ../../src/Makefile.Globals 17 17 18 CFLAGS := -I../../include $(CFLAGS)18 CFLAGS := -I../../include -DUTC_DAT_FILE="\"$(prefix)/data/tai_utc.dat\"" $(CFLAGS) 19 19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS) 20 20 … … 34 34 35 35 install: $(testbindir) $(testbindir)/verified $(TARGET) 36 install $(TARGET) $(testbindir) 36 37 install verified/*.stderr verified/*.stdout $(testbindir)/verified 37 38 -
branches/rel4/psLib/test/dataIO/tst_psLookupTable_01.c
r2808 r3059 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $15 * @date $Date: 200 4-12-23 19:38:38$14 * @version $Revision: 1.5.2.1 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-01-19 02:17:05 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 36 36 psLookupTable* table1 = NULL; 37 37 38 table1 = psLookupTableAlloc( "../../data/tai_utc.dat", 0, 2451179.6);38 table1 = psLookupTableAlloc(UTC_DAT_FILE, 0, 2451179.6); 39 39 table1 = psLookupTableRead(table1); 40 40 out1 = psLookupTableInterpolate(table1, index1, 0, &status1); … … 56 56 psF64 truthData2[] = {31.5, 41317, 0}; 57 57 58 table2 = psLookupTableAlloc( "../../data/tai_utc.dat", 0, 2451179.6);58 table2 = psLookupTableAlloc(UTC_DAT_FILE, 0, 2451179.6); 59 59 table2 = psLookupTableRead(table2); 60 60 stats2 = psVectorAlloc(table2->numCols, PS_TYPE_U32); … … 78 78 psLookupTable* table3 = NULL; 79 79 80 table3 = psLookupTableAlloc( "../../data/tai_utc.dat", 0, 2451179.6);80 table3 = psLookupTableAlloc(UTC_DAT_FILE, 0, 2451179.6); 81 81 table3 = psLookupTableRead(table3); 82 82 out3 = psLookupTableInterpolate(table3, index3, 0, &status3); … … 93 93 psLookupTable* table4 = NULL; 94 94 95 table4 = psLookupTableAlloc( "../../data/tai_utc.dat", 0, 2451179.6);95 table4 = psLookupTableAlloc(UTC_DAT_FILE, 0, 2451179.6); 96 96 table4 = psLookupTableRead(table4); 97 97 out4 = psLookupTableInterpolate(table4, index4, 0, &status4); -
branches/rel4/psLib/test/dataManip
- Property svn:ignore
-
old new 54 54 tst_psMinimize07 55 55 tst_psRandom 56 seed_msglog1.txt 57 seed_msglog2.txt
-
- Property svn:ignore
-
branches/rel4/psLib/test/dataManip/.cvsignore
r2837 r3059 54 54 tst_psMinimize07 55 55 tst_psRandom 56 seed_msglog1.txt 57 seed_msglog2.txt -
branches/rel4/psLib/test/fileUtils/Makefile
r2962 r3059 3 3 ## Makefile: test/fileUtils 4 4 ## 5 ## $Revision: 1.2 $ $Name: not supported by cvs2svn $6 ## $Date: 2005-01-1 2 22:17:02$5 ## $Revision: 1.2.2.1 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2005-01-19 02:17:05 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 16 16 include ../../src/Makefile.Globals 17 17 18 CFLAGS := -I../../include $(CFLAGS)18 CFLAGS := -I../../include -DUTC_DAT_FILE="\"$(prefix)/data/tai_utc.dat\"" $(CFLAGS) 19 19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS) 20 20 … … 34 34 35 35 install: $(testbindir) $(testbindir)/verified $(TARGET) 36 install $(TARGET) $(testbindir) 36 37 install verified/*.stderr verified/*.stdout $(testbindir)/verified 37 38 -
branches/rel4/psLib/test/fileUtils/tst_psLookupTable_01.c
r2808 r3059 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $15 * @date $Date: 200 4-12-23 19:38:38$14 * @version $Revision: 1.5.2.1 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-01-19 02:17:05 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 36 36 psLookupTable* table1 = NULL; 37 37 38 table1 = psLookupTableAlloc( "../../data/tai_utc.dat", 0, 2451179.6);38 table1 = psLookupTableAlloc(UTC_DAT_FILE, 0, 2451179.6); 39 39 table1 = psLookupTableRead(table1); 40 40 out1 = psLookupTableInterpolate(table1, index1, 0, &status1); … … 56 56 psF64 truthData2[] = {31.5, 41317, 0}; 57 57 58 table2 = psLookupTableAlloc( "../../data/tai_utc.dat", 0, 2451179.6);58 table2 = psLookupTableAlloc(UTC_DAT_FILE, 0, 2451179.6); 59 59 table2 = psLookupTableRead(table2); 60 60 stats2 = psVectorAlloc(table2->numCols, PS_TYPE_U32); … … 78 78 psLookupTable* table3 = NULL; 79 79 80 table3 = psLookupTableAlloc( "../../data/tai_utc.dat", 0, 2451179.6);80 table3 = psLookupTableAlloc(UTC_DAT_FILE, 0, 2451179.6); 81 81 table3 = psLookupTableRead(table3); 82 82 out3 = psLookupTableInterpolate(table3, index3, 0, &status3); … … 93 93 psLookupTable* table4 = NULL; 94 94 95 table4 = psLookupTableAlloc( "../../data/tai_utc.dat", 0, 2451179.6);95 table4 = psLookupTableAlloc(UTC_DAT_FILE, 0, 2451179.6); 96 96 table4 = psLookupTableRead(table4); 97 97 out4 = psLookupTableInterpolate(table4, index4, 0, &status4); -
trunk/psLib/test/dataManip
- Property svn:ignore
-
old new 54 54 tst_psMinimize07 55 55 tst_psRandom 56 seed_msglog1.txt 57 seed_msglog2.txt
-
- Property svn:ignore
-
trunk/psLib/test/dataManip/.cvsignore
r2837 r3059 54 54 tst_psMinimize07 55 55 tst_psRandom 56 seed_msglog1.txt 57 seed_msglog2.txt
Note:
See TracChangeset
for help on using the changeset viewer.
