Changes between Version 4 and Version 5 of TestProgram


Ignore:
Timestamp:
May 2, 2012, 9:40:04 AM (13 years ago)
Author:
Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TestProgram

    v4 v5  
    6565   1. It copies the input files according to the prescription given in '''move_files_level1'''
    6666   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.
    6868   1. It copies the input files according to the prescription given in '''move_files_level2'''
    6969   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.
    7171   1. A python code collects the results.
    7272   1. These results are compared to the expected one written in '''expected_results.txt'''
     
    7676
    7777
    78    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
     78   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 }}}
    8282   1. Define the six files  '''move_files_level1''',  '''move_files_level2''', '''routine_level1''' ,  '''routine_level2''', 
    8383 '''dir_test.py''', '''expected_results.txt''' and import a copy of  all input cards (or files) in this directory.