Changeset 3226 for trunk/psLib/test/runTest
- Timestamp:
- Feb 15, 2005, 9:53:19 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/runTest (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/runTest
r3127 r3226 21 21 # 16 STDERR files did not compare 22 22 # 32 Test driver doesn't exist or is not executable 23 # 64 STDOUT captured contains error strings 24 # 128 STDERR captured contains error strings 25 # 256 Test driver did not return zero 23 # 64 Test driver did not return zero 26 24 # 27 25 # SYNOSIS: runTest testDriverName 28 26 # 29 27 # $Revison: $ $Name: not supported by cvs2svn $ 30 # $Date: 2005-02- 04 22:49:37$28 # $Date: 2005-02-15 19:53:19 $ 31 29 # 32 30 # Copyright 2004 Maui High Performance Computering Center, University of Hawaii … … 114 112 # Display failure message with return value to user 115 113 if ( $? != 0 && ( $testFile !~ /^A/i ) ) { 116 print( 117 " Failed - Test Driver expected 0 return value (Return value $?)\n" 118 ); 114 print("Failed - Test Driver returned $?, expected 0.\n"); 119 115 } 120 116 elsif ( $? == 0 && ( $testFile =~ /^A/i ) ) { 121 print( 122 " Failed - Test Driver expected abort (Return value $?)\n" 123 ); 124 } 125 $exitValue |= 256; 117 print("Failed - Test Driver returned $?, expected abort.\n"); 118 } 119 $exitValue |= 64; 126 120 } 127 121 else {
Note:
See TracChangeset
for help on using the changeset viewer.
