Changeset 2392 for trunk/psLib/test/astronomy
- Timestamp:
- Nov 22, 2004, 11:10:52 AM (22 years ago)
- Location:
- trunk/psLib/test/astronomy
- Files:
-
- 11 edited
-
tst_psMetadataIO.c (modified) (2 diffs)
-
tst_psMetadata_01.c (modified) (2 diffs)
-
tst_psMetadata_02.c (modified) (2 diffs)
-
tst_psMetadata_03.c (modified) (2 diffs)
-
tst_psMetadata_04.c (modified) (2 diffs)
-
tst_psMetadata_05.c (modified) (2 diffs)
-
tst_psMetadata_06.c (modified) (2 diffs)
-
tst_psTime_01.c (modified) (2 diffs)
-
tst_psTime_02.c (modified) (2 diffs)
-
tst_psTime_03.c (modified) (2 diffs)
-
tst_psTime_04.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psMetadataIO.c
r2204 r2392 13 13 * @author Ross Harman, MHPCC 14 14 * 15 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $16 * @date $Date: 2004-1 0-27 00:57:31$15 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2004-11-22 20:53:39 $ 17 17 * 18 18 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 174 174 psFree(metadata2); 175 175 psFree(metadata3); 176 psMemCheckLeaks(0, NULL, stdout); 176 if(psMemCheckLeaks(0, NULL, stdout,false)) { 177 psError(PS_ERR_UNKNOWN,true,"Memory leak detected"); 178 return 10; 179 } 177 180 psMemCheckCorruption(0); 178 181 psS32 nBad = psMemCheckCorruption(0); -
trunk/psLib/test/astronomy/tst_psMetadata_01.c
r2273 r2392 17 17 * @author Ross Harman, MHPCC 18 18 * 19 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $20 * @date $Date: 2004-11- 04 01:05:00 $19 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2004-11-22 20:54:50 $ 21 21 * 22 22 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 260 260 psFree(metadata2); 261 261 psFree(metadata3); 262 psMemCheckLeaks(0, NULL, stdout); 262 if(psMemCheckLeaks(0, NULL, stdout,false)) { 263 psError(PS_ERR_UNKNOWN,true,"Memory leaks detected."); 264 return 10; 265 } 263 266 psMemCheckCorruption(0); 264 267 psS32 nBad = psMemCheckCorruption(0); -
trunk/psLib/test/astronomy/tst_psMetadata_02.c
r2273 r2392 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $17 * @date $Date: 2004-11- 04 01:05:00 $16 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2004-11-22 20:54:50 $ 18 18 * 19 19 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 134 134 psFree(badItem); 135 135 psFree(metadata); 136 psMemCheckLeaks(0, NULL, stdout); 136 if(psMemCheckLeaks(0, NULL, stdout,false) ) { 137 psError(PS_ERR_UNKNOWN,true,"Memory leaks detected."); 138 return 10; 139 } 137 140 psMemCheckCorruption(0); 138 141 psS32 nBad = psMemCheckCorruption(0); -
trunk/psLib/test/astronomy/tst_psMetadata_03.c
r2273 r2392 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $17 * @date $Date: 2004-11- 04 01:05:00 $16 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2004-11-22 20:54:50 $ 18 18 * 19 19 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 226 226 psFree(errItem); 227 227 psFree(errMetadata); 228 if( psMemCheckLeaks(0, NULL, stdout ) != 0 ) {228 if( psMemCheckLeaks(0, NULL, stdout,false) != 0 ) { 229 229 psError(PS_ERR_UNKNOWN, true,"Memory leaks detected."); 230 230 return 25; -
trunk/psLib/test/astronomy/tst_psMetadata_04.c
r2273 r2392 18 18 * @author Ross Harman, MHPCC 19 19 * 20 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $21 * @date $Date: 2004-11- 04 01:05:00 $20 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 21 * @date $Date: 2004-11-22 20:54:50 $ 22 22 * 23 23 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 196 196 psFree(item3); 197 197 psFree(item4); 198 if ( psMemCheckLeaks(0, NULL, stdout ) != 0 ) {198 if ( psMemCheckLeaks(0, NULL, stdout,false) != 0 ) { 199 199 psError(PS_ERR_UNKNOWN, true,"memory leaks detected."); 200 200 return 20; -
trunk/psLib/test/astronomy/tst_psMetadata_05.c
r2273 r2392 22 22 * @author Ross Harman, MHPCC 23 23 * 24 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $25 * @date $Date: 2004-11- 04 01:05:00 $24 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 25 * @date $Date: 2004-11-22 20:54:50 $ 26 26 * 27 27 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 266 266 psFree(item7); 267 267 psFree(item8); 268 if ( psMemCheckLeaks(0, NULL, stdout ) != 0 ) {268 if ( psMemCheckLeaks(0, NULL, stdout, false) != 0 ) { 269 269 psError(PS_ERR_UNKNOWN, true,"Memory leaks detected."); 270 270 return 50; -
trunk/psLib/test/astronomy/tst_psMetadata_06.c
r2273 r2392 13 13 * @author Ross Harman, MHPCC 14 14 * 15 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $16 * @date $Date: 2004-11- 04 01:05:00 $15 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2004-11-22 20:54:50 $ 17 17 * 18 18 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 129 129 psFree(item2b); 130 130 psFree(metadata); 131 if ( psMemCheckLeaks(0, NULL, stdout ) != 0 ) {131 if ( psMemCheckLeaks(0, NULL, stdout, false) != 0 ) { 132 132 psError(PS_ERR_UNKNOWN, true,"Memory leaks detected."); 133 133 return 25; -
trunk/psLib/test/astronomy/tst_psTime_01.c
r2322 r2392 23 23 * @author Ross Harman, MHPCC 24 24 * 25 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $26 * @date $Date: 2004-11- 10 22:39:18$25 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 26 * @date $Date: 2004-11-22 20:52:45 $ 27 27 * 28 28 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 197 197 psFree(testTime); 198 198 psLibFinalize(); 199 psMemCheckLeaks(0, NULL, stdout); 199 if( psMemCheckLeaks(0, NULL, stdout,false) != 0 ) { 200 psError(PS_ERR_UNKNOWN,true,"Memory leaks detected"); 201 return 10; 202 } 200 203 psMemCheckCorruption(0); 201 204 psS32 nBad = psMemCheckCorruption(0); -
trunk/psLib/test/astronomy/tst_psTime_02.c
r2204 r2392 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-1 0-27 00:57:33$12 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-11-22 20:52:45 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 42 42 // Test C - Free data 43 43 printPositiveTestHeader(stdout, "psTime", "Test C - Free data"); 44 psMemCheckLeaks(0, NULL, stdout); 44 if ( psMemCheckLeaks(0, NULL, stdout,false) != 0) { 45 psError(PS_ERR_UNKNOWN,true,"Memory leaks detected"); 46 return 10; 47 } 45 48 psMemCheckCorruption(0); 46 49 psS32 nBad = psMemCheckCorruption(0); -
trunk/psLib/test/astronomy/tst_psTime_03.c
r2328 r2392 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-11- 10 23:08:10$14 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-11-22 20:52:45 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 133 133 psFree(time5b); 134 134 psFree(timeOut5); 135 psMemCheckLeaks(0, NULL, stdout); 135 if ( psMemCheckLeaks(0, NULL, stdout,false) ) { 136 psError(PS_ERR_UNKNOWN,true,"Memory leaks detected."); 137 return 10; 138 } 136 139 psMemCheckCorruption(0); 137 140 psS32 nBad = psMemCheckCorruption(0); -
trunk/psLib/test/astronomy/tst_psTime_04.c
r2364 r2392 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $17 * @date $Date: 2004-11- 15 20:14:44$16 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2004-11-22 20:52:45 $ 18 18 * 19 19 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 77 77 printPositiveTestHeader(stdout, "psTime", "Test G - Free data"); 78 78 psTimeFinalize(); 79 psMemCheckLeaks(0, NULL, stdout); 79 if( psMemCheckLeaks(0, NULL, stdout,false) != 0 ) { 80 psError(PS_ERR_UNKNOWN,true,"Memory leak detected."); 81 return 10; 82 } 80 83 psMemCheckCorruption(0); 81 84 int nBad = psMemCheckCorruption(0);
Note:
See TracChangeset
for help on using the changeset viewer.
