Changeset 4205
- Timestamp:
- Jun 9, 2005, 3:41:35 PM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 8 edited
-
src/sys/psConfigure.c (modified) (2 diffs)
-
src/sys/psConfigure.h (modified) (2 diffs)
-
src/sysUtils/psConfigure.c (modified) (2 diffs)
-
src/sysUtils/psConfigure.h (modified) (2 diffs)
-
test/astronomy/tst_psTime_01.c (modified) (3 diffs)
-
test/astronomy/tst_psTime_02.c (modified) (2 diffs)
-
test/astronomy/tst_psTime_03.c (modified) (2 diffs)
-
test/astronomy/tst_psTime_04.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psConfigure.c
r4137 r4205 13 13 * @author Robert DeSonia, MHPCC 14 14 * 15 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $16 * @date $Date: 2005-06- 07 22:53:40$15 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-06-10 01:41:35 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 33 33 } 34 34 35 void psLibInit( bool predictable,const char* timeConfig)35 void psLibInit(const char* timeConfig) 36 36 { 37 37 // XXX: Still needs error codes to be set -
trunk/psLib/src/sys/psConfigure.h
r4162 r4205 13 13 * @author Robert DeSonia, MHPCC 14 14 * 15 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $16 * @date $Date: 2005-06- 08 23:40:45 $15 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-06-10 01:41:35 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 42 42 * current, a non-NULL psErr is returned with code PS_ERR_NONE. 43 43 * 44 * @return void: void.45 44 */ 46 45 void psLibInit( 47 bool predictable,48 46 const char* timeConfig ///< Filename of config file for psTime. 49 47 ); -
trunk/psLib/src/sysUtils/psConfigure.c
r4137 r4205 13 13 * @author Robert DeSonia, MHPCC 14 14 * 15 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $16 * @date $Date: 2005-06- 07 22:53:40$15 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-06-10 01:41:35 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 33 33 } 34 34 35 void psLibInit( bool predictable,const char* timeConfig)35 void psLibInit(const char* timeConfig) 36 36 { 37 37 // XXX: Still needs error codes to be set -
trunk/psLib/src/sysUtils/psConfigure.h
r4162 r4205 13 13 * @author Robert DeSonia, MHPCC 14 14 * 15 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $16 * @date $Date: 2005-06- 08 23:40:45 $15 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2005-06-10 01:41:35 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 42 42 * current, a non-NULL psErr is returned with code PS_ERR_NONE. 43 43 * 44 * @return void: void.45 44 */ 46 45 void psLibInit( 47 bool predictable,48 46 const char* timeConfig ///< Filename of config file for psTime. 49 47 ); -
trunk/psLib/test/astronomy/tst_psTime_01.c
r4059 r4205 23 23 * @author Eric Van Alst, MHPCC 24 24 * 25 * @version $Revision: 1.2 6$ $Name: not supported by cvs2svn $26 * @date $Date: 2005-0 5-31 21:56:31$25 * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $ 26 * @date $Date: 2005-06-10 01:41:35 $ 27 27 * 28 28 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 161 161 162 162 // Initialize library internal structures 163 psLibInit( true,"psTime.config");163 psLibInit("psTime.config"); 164 164 165 165 if( !runTestSuite(stderr,"psTime",tests,argc,argv)) { … … 1138 1138 // char *testString = "2004-07-21T18:22:24.272Z"; 1139 1139 // 1140 // psLibInit( true,"psTime.config");1140 // psLibInit("psTime.config"); 1141 1141 // 1142 1142 // Test time was taken at July 21, 2004 at 18:22:24.272044 -
trunk/psLib/test/astronomy/tst_psTime_02.c
r4058 r4205 12 12 * @author Eric Van Alst, MHPCC 13 13 * 14 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 5-31 21:57:22$14 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-10 01:41:35 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 67 67 68 68 // Initialize library internal structures 69 psLibInit( true,"psTime.config");69 psLibInit("psTime.config"); 70 70 71 71 if( !runTestSuite(stderr,"psTime",tests,argc,argv)) { -
trunk/psLib/test/astronomy/tst_psTime_03.c
r4059 r4205 11 11 * @author Eric Van Alst, MHPCC 12 12 * 13 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-0 5-31 22:01:27$13 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-06-10 01:41:35 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 188 188 189 189 // Initialize library internal structures 190 psLibInit( true,"psTime.config");190 psLibInit("psTime.config"); 191 191 192 192 if( !runTestSuite(stderr,"psTime",tests,argc,argv)) { -
trunk/psLib/test/astronomy/tst_psTime_04.c
r4059 r4205 15 15 * @author Eric Van Alst, MHPCC 16 16 * 17 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $18 * @date $Date: 2005-0 5-31 22:02:25 $17 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 18 * @date $Date: 2005-06-10 01:41:35 $ 19 19 * 20 20 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 55 55 { 56 56 // Test A - Initialize time 57 psLibInit( true,"psTime.config");57 psLibInit("psTime.config"); 58 58 psLibFinalize(); 59 59 … … 64 64 { 65 65 // Test B - Attempt to open non-existant time config file 66 psLibInit( true,"zzz");66 psLibInit("zzz"); 67 67 68 68 return 0; … … 72 72 { 73 73 // Test C - Attempt to open non-existant time data files 74 psLibInit( true,"test.psTime.config1");74 psLibInit("test.psTime.config1"); 75 75 psLibFinalize(); 76 76 … … 81 81 { 82 82 // Test D - Attempt to read incorrect number of files 83 psLibInit( true,"test.psTime.config2");83 psLibInit("test.psTime.config2"); 84 84 psLibFinalize(); 85 85 … … 90 90 { 91 91 // Test E - Attempt to read incorrect number of from values 92 psLibInit( true,"test.psTime.config3");92 psLibInit("test.psTime.config3"); 93 93 psLibFinalize(); 94 94 … … 99 99 { 100 100 // Test F - Attempt to read data file with typo in number 101 psLibInit( true,"test.psTime.config4");101 psLibInit("test.psTime.config4"); 102 102 psLibFinalize(); 103 103
Note:
See TracChangeset
for help on using the changeset viewer.
