Changes between Version 4 and Version 5 of TestProgram
- Timestamp:
- May 2, 2012, 9:40:04 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TestProgram
v4 v5 65 65 1. It copies the input files according to the prescription given in '''move_files_level1''' 66 66 1. It launches executables (such as new_process) according to the prescription given in '''routine_level1'''. 67 The paths are expected to be given from the main directory of the Template copy.67 The paths are expected to be given from the main directory of the Template copy. 68 68 1. It copies the input files according to the prescription given in '''move_files_level2''' 69 69 1. It launches executables (such as generate_events) according to the prescription given in '''routine_level2'''. 70 The paths are expected to be given from the main directory of the Template copy.70 The paths are expected to be given from the main directory of the Template copy. 71 71 1. A python code collects the results. 72 72 1. These results are compared to the expected one written in '''expected_results.txt''' … … 76 76 77 77 78 1. First create a new directory in TEST for your module: $>mkdir test_MYMOD79 1. $>cd test_MYMOD80 1. Create a directory for a specific test $> mkdir fast_NAME or $>mkdir full_NAME81 1. $> cd fast_NAME78 1. First create a new directory in TEST for your module: {{{$>mkdir test_MYMOD}}} 79 1. {{{$>cd test_MYMOD}}} 80 1. Create a directory for a specific test {{{$> mkdir fast_NAME}}} or {{{$>mkdir full_NAME}}} 81 1. {{{$> cd fast_NAME }}} 82 82 1. Define the six files '''move_files_level1''', '''move_files_level2''', '''routine_level1''' , '''routine_level2''', 83 83 '''dir_test.py''', '''expected_results.txt''' and import a copy of all input cards (or files) in this directory.
