Changeset 3115 for trunk/psLib/test/runTest
- Timestamp:
- Feb 2, 2005, 2:54:13 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/runTest (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/runTest
r2729 r3115 18 18 # 0 Test run successfull and all tests passed 19 19 # 1 Verified directory did not exist 20 # 2 Verified STDOUT file did not exist21 # 4 Verified STDERR file did not exist22 20 # 8 STDOUT files did not compare 23 21 # 16 STDERR files did not compare … … 30 28 # 31 29 # $Revison: $ $Name: not supported by cvs2svn $ 32 # $Date: 200 4-12-16 21:32:39$30 # $Date: 2005-02-03 00:54:12 $ 33 31 # 34 32 # Copyright 2004 Maui High Performance Computering Center, University of Hawaii … … 62 60 63 61 # Set up the PSLIB_ROOT environment variable if the user doesn't have it set 64 if ( !$ENV{'PSLIB_ROOT'} ) { 65 66 # Use the directory directly above test 67 $PSLIB_ROOT = `cd ..;pwd`; 68 69 # Remove newline for the end of path returned 70 chomp($PSLIB_ROOT); 71 72 # Set the environment variable 73 $ENV{'PSLIB_ROOT'} = $PSLIB_ROOT; 74 75 # Display message that PSLIB_ROOT not found and set to 76 print("PSLIB_ROOT not found: set to $PSLIB_ROOT\n"); 77 } 78 79 # Add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment vars 80 $ENV{'LD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'LD_LIBRARY_PATH'}"; 81 $ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'DYLD_LIBRARY_PATH'}"; 62 if ( $ENV{'PSLIB_ROOT'} ) { 63 64 # Add PSLIB_ROOT/lib to LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment vars 65 $ENV{'LD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'LD_LIBRARY_PATH'}"; 66 $ENV{'DYLD_LIBRARY_PATH'} = "$ENV{'PSLIB_ROOT'}/lib:$ENV{'DYLD_LIBRARY_PATH'}"; 67 } 82 68 83 69 # Loop through the arguements passed to the script … … 337 323 # Display message to user that verified STDOUT file doesn't exist 338 324 print(" File $streamFile doesn't exist.\n"); 339 340 # Set exit value bit 1 to indicate proper failure341 if ( $streamFile =~ /out$/ ) {342 $returnVal |= 2;343 }344 elsif ( $streamFile =~ /err$/ ) {345 $returnVal |= 4;346 }347 325 } 348 326 else {
Note:
See TracChangeset
for help on using the changeset viewer.
