Changeset 5216 for trunk/psLib/test/FullUnitTest.in
- Timestamp:
- Sep 30, 2005, 4:22:26 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/FullUnitTest.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/FullUnitTest.in
r3888 r5216 5 5 # the script 6 6 # 7 # $Revision: 1. 1$ $Name: not supported by cvs2svn $8 # $Date: 2005- 05-12 01:35:35$7 # $Revision: 1.2 $ $Name: not supported by cvs2svn $ 8 # $Date: 2005-10-01 02:22:19 $ 9 9 # 10 10 # Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 23 23 24 24 $recursive=1; 25 $jobs=1; 25 26 # Assign variables based on the presence of command line options to the script 26 27 # The ! option allows for --nooption to be set to zero 27 28 # (e.g. --noverbose --recursive causes $verbose=0 and $recursive=1) 28 29 GetOptions( 30 "jobs!" => \$jobs, 29 31 "verbose!" => \$verbose, 30 32 "recursive!" => \$recursive, … … 41 43 where: 42 44 options = 45 --jobs number of threads to use for make 43 46 --help Print this help text 44 47 --verbose Display extra information to user … … 241 244 242 245 # Execute the make and save results 243 $_ = join( "\n|| ", split( "\n", "\n" . `make tests` ) );246 $_ = join( "\n|| ", split( "\n", "\n" . `make -j $jobs tests` ) ); 244 247 245 248 # Check the output of make for return value != 0 or any of the
Note:
See TracChangeset
for help on using the changeset viewer.
