Changeset 12513 for trunk/psLib/test/sys
- Timestamp:
- Mar 19, 2007, 5:57:25 PM (19 years ago)
- Location:
- trunk/psLib/test/sys
- Files:
-
- 4 edited
-
tap_psError.c (modified) (8 diffs)
-
tap_psMemory.c (modified) (7 diffs)
-
tap_psString.c (modified) (18 diffs)
-
tap_psTrace.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sys/tap_psError.c
r11662 r12513 13 13 * @author Eric Van Alst, MHPCC 14 14 * 15 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $16 * @date $Date: 2007-0 2-06 04:09:55 $15 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2007-03-20 03:57:25 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 43 43 static psS32 testError00(void) 44 44 { 45 diag("testError00");45 // diag("testError00"); 46 46 47 47 psS32 intval=1; … … 68 68 static psS32 testError01(void) 69 69 { 70 diag("testError01");70 // diag("testError01"); 71 71 72 72 psErrorCode code=PS_ERR_BAD_PARAMETER_VALUE; … … 120 120 static psS32 testError02(void) 121 121 { 122 diag("testError02");122 // diag("testError02"); 123 123 124 124 psErrorCode code = PS_ERR_BAD_PARAMETER_VALUE; … … 136 136 static psS32 testError03(void) 137 137 { 138 diag("testError03");138 // diag("testError03"); 139 139 140 140 psErrorCode code = PS_ERR_BAD_PARAMETER_VALUE; … … 235 235 static psS32 testError04(void) 236 236 { 237 diag("testError04");237 //diag("testError04"); 238 238 239 239 psErrorCode code = PS_ERR_BAD_PARAMETER_VALUE; … … 296 296 static psS32 testError05(void) 297 297 { 298 diag("testError05");298 //diag("testError05"); 299 299 300 300 // Verify the return value of psErrorCodeString … … 311 311 static psS32 testErrorRegister(void) 312 312 { 313 diag("testErrorRegister");313 //diag("testErrorRegister"); 314 314 315 315 psS32 numErr = 4; -
trunk/psLib/test/sys/tap_psMemory.c
r12507 r12513 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-03-20 0 2:35:53$8 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-03-20 03:57:25 $ 10 10 * 11 11 * XXXX: Several tests fail with an Abort and are commented out. … … 92 92 void TPCheckBufferPositive( void ) 93 93 { 94 diag("TPCheckBufferPositive");94 // diag("TPCheckBufferPositive"); 95 95 96 96 psS32 * mem; … … 117 117 void TPFreeReferencedMemory( void ) 118 118 { 119 diag("TPFreeReferencedMemory");119 // diag("TPFreeReferencedMemory"); 120 120 121 121 // create memory … … 160 160 void TPReallocOutOfMemory( void ) 161 161 { 162 diag("TPReallocOutOfMemory");162 // diag("TPReallocOutOfMemory"); 163 163 164 164 psS32 * mem[ 100 ]; … … 196 196 void TPOutOfMemory( void ) 197 197 { 198 diag("TPOutOfMemory");198 // diag("TPOutOfMemory"); 199 199 200 200 psS32 * mem[ 100 ]; … … 230 230 void TPrealloc( void ) 231 231 { 232 diag("TPrealloc");232 // diag("TPrealloc"); 233 233 234 234 psS32 * mem1; … … 287 287 void TPallocCallback( void ) 288 288 { 289 diag("TPallocCallback");289 // diag("TPallocCallback"); 290 290 291 291 psS32 * mem1; -
trunk/psLib/test/sys/tap_psString.c
r12512 r12513 20 20 * @author Eric Van Alst, MHPCC 21 21 * 22 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $23 * @date $Date: 2007-03-20 03: 31:39$22 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 23 * @date $Date: 2007-03-20 03:57:25 $ 24 24 * 25 25 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 87 87 psS32 testStringCopy00(void) 88 88 { 89 diag("testStringCopy00");89 // diag("testStringCopy00"); 90 90 91 91 char stringval[20] = "E R R O R"; … … 114 114 psS32 testStringCopy01(void) 115 115 { 116 diag("testStringCopy01");116 // diag("testStringCopy01"); 117 117 118 118 char *emptyval = ""; … … 136 136 psS32 testStringCopy02(void) 137 137 { 138 diag("testStringCopy02");138 // diag("testStringCopy02"); 139 139 140 140 psS32 result = 0; … … 163 163 psS32 testStringCopy03(void) 164 164 { 165 diag("testStringCopy03");165 // diag("testStringCopy03"); 166 166 167 167 psS32 result = 0; … … 186 186 psS32 testStringCopy04(void) 187 187 { 188 diag("testStringCopy04");188 // diag("testStringCopy04"); 189 189 190 190 psS32 result = 0; … … 233 233 psS32 testStringCopy06(void) 234 234 { 235 diag("testStringCopy06");235 // diag("testStringCopy06"); 236 236 237 237 char *strResult; … … 252 252 psS32 testStrAppend00(void) 253 253 { 254 diag("testStrAppend00");254 // diag("testStrAppend00"); 255 255 256 256 char *str=NULL; … … 272 272 psS32 testStrAppend01(void) 273 273 { 274 diag("testStrAppend01");274 // diag("testStrAppend01"); 275 275 276 276 ssize_t sz; … … 290 290 psS32 testStrAppend02(void) 291 291 { 292 diag("testStrAppend02");292 // diag("testStrAppend02"); 293 293 294 294 char *str=NULL; … … 307 307 psS32 testStrAppend03(void) 308 308 { 309 diag("testStrAppend03");309 // diag("testStrAppend03"); 310 310 311 311 char *str =psStringCopy(STR_0); … … 322 322 psS32 testStrPrepend00(void) 323 323 { 324 diag("testStrPrepend00");324 // diag("testStrPrepend00"); 325 325 326 326 char *str=NULL; … … 343 343 psS32 testStrPrepend01(void) 344 344 { 345 diag("testStrPrepend01");345 // diag("testStrPrepend01"); 346 346 347 347 ssize_t sz; … … 360 360 psS32 testStrPrepend02(void) 361 361 { 362 diag("testStrPrepend02");362 // diag("testStrPrepend02"); 363 363 364 364 char *str=NULL; … … 377 377 psS32 testStrPrepend03(void) 378 378 { 379 diag("testStrPrepend03");379 // diag("testStrPrepend03"); 380 380 381 381 char *str=NULL; … … 397 397 psS32 testStrSplit00(void) 398 398 { 399 diag("testStrSplit00");399 // diag("testStrSplit00"); 400 400 401 401 psList *strList = NULL; … … 525 525 psS32 testNULLStrings(void) 526 526 { 527 diag("test""s");527 // diag("test""s"); 528 528 529 529 psString nullTest = NULL; … … 582 582 psS32 testStrCheck(void) 583 583 { 584 diag("testStrCheck");584 // diag("testStrCheck"); 585 585 586 586 psString str = NULL; -
trunk/psLib/test/sys/tap_psTrace.c
r12512 r12513 43 43 static psS32 testTrace00(void) 44 44 { 45 diag("testTrace00");45 // diag("testTrace00"); 46 46 47 47 psS32 i; … … 86 86 static psS32 testTrace01(void) 87 87 { 88 diag("testTrace01");88 // diag("testTrace01"); 89 89 90 90 // psTraceSetDestination(stderr); … … 103 103 static psS32 testTrace02(void) 104 104 { 105 diag("testTrace02");105 // diag("testTrace02"); 106 106 107 107 psTraceReset(); … … 131 131 static psS32 testTrace03(void) 132 132 { 133 diag("testTrace03");133 // diag("testTrace03"); 134 134 135 135 psS32 i = 0; … … 172 172 static psS32 testTrace04(void) 173 173 { 174 diag("testTrace04");174 // diag("testTrace04"); 175 175 176 176 int FD;
Note:
See TracChangeset
for help on using the changeset viewer.
