~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to tests/acceptance_tests/test_output_files.py

  • Committer: olivier Mattelaer
  • Date: 2015-03-05 00:14:16 UTC
  • mfrom: (258.1.9 2.3)
  • mto: (258.8.1 2.3)
  • mto: This revision was merged to the branch mainline in revision 259.
  • Revision ID: olivier.mattelaer@uclouvain.be-20150305001416-y9mzeykfzwnl9t0j
partial merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
 
80
80
    def load_IOTestsAcceptance(self):
81
81
        """load the models and exporters if necessary."""
82
 
            
83
82
        if not hasattr(self, 'models') or \
84
83
           not hasattr(self, 'fortran_models') or \
85
84
           not hasattr(self, 'loop_exporters'):\
100
99
                                   'loop_dir':_loop_file_path,
101
100
                                   'cuttools_dir':_cuttools_file_path,
102
101
                                   'fortran_compiler':'gfortran',
103
 
                                   'output_dependencies':'external'}),
 
102
                                   'output_dependencies':'external',
 
103
                                   'SubProc_prefix': '',
 
104
                                   'compute_color_flows': False}),
104
105
                'optimized' : loop_exporters.\
105
106
                                  LoopProcessOptimizedExporterFortranSA(\
106
107
                                  _mgme_file_path, _proc_file_path,
109
110
                                   'loop_dir':_loop_file_path,
110
111
                                   'cuttools_dir':_cuttools_file_path,
111
112
                                   'fortran_compiler':'gfortran',
112
 
                                    'output_dependencies':'external'})
 
113
                                    'output_dependencies':'external',
 
114
                                    'SubProc_prefix': '',
 
115
                                   'compute_color_flows': False})
113
116
                                  }
114
117
 
115
118
            # d u~ > mu- vmx g
116
119
            self.addIOTestsForProcess( testName = 'dux_mumvmxg',
117
120
                                       testFolder = 'long_ML_SMQCD',
118
121
                                       particles_ids = [1,-2,13,-14,21],
119
 
                                       exporters = self.loop_exporters,
 
122
                                       exporters = ['default','optimized'],
120
123
                                       orders = {'QCD': 1, 'QED': 2} )
121
 
            
 
124
 
122
125
            # g g > w- t b~ Single top (long but really includes everything)
123
126
            self.addIOTestsForProcess( testName = 'gg_wmtbx',
124
127
                                       testFolder = 'long_ML_SMQCD',
125
128
                                       particles_ids = [21,21,-24,6,-5],
126
 
                                       exporters = self.loop_exporters,
 
129
                                       exporters = ['default','optimized'],
127
130
                                       orders = {'QCD': 2, 'QED': 1} )
128
131