Changeset 244 for tbroadcast/v2/scripts
- Timestamp:
- Sep 7, 2006, 10:31:17 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tbroadcast/v2/scripts/tbroadcast
r243 r244 25 25 print '# -ignore_cycles : ' 26 26 print '# -nb=<num_worker> : Total number of threads' 27 print '# -output=<location> : Output directory to store output files with the form <package>.log' 27 print '# -output=<location> : Output directory to store output files with the form <package>_output.log' 28 print '# -error=<location> : Output directory to store error output with the form <package>_error.log' 28 29 print '# -print : Print dependency graph' 29 30 print '# -test : Simulate execution' … … 38 39 local = False 39 40 ignore_cycles = False 41 silent = False 40 42 output = None 43 error = None 41 44 file = None 42 45 for arg in sys.argv[1:len(sys.argv)]: … … 49 52 if option == '-output': 50 53 output = string.split(arg,'=')[1] 54 if option == '-error': 55 error = string.split(arg,'=')[1] 51 56 if option == '-local': 52 57 local= True 53 58 if option == '-ignore_cycles': 54 59 ignore_cycles = True 60 if option == '-silent': 61 silent = True 62 55 63 if option == '-help': 56 64 usage() … … 66 74 command = arg 67 75 68 master = Scheduler (num_workers=num_worker, file=file, ignore_cycles=ignore_cycles, local=local, output=output )76 master = Scheduler (num_workers=num_worker, file=file, ignore_cycles=ignore_cycles, local=local, output=output, error=error, silent=silent) 69 77 if test: 70 78 master.simulate_execution()
Note: See TracChangeset
for help on using the changeset viewer.