Exemplo n.º 1
0
 def __init__(self, logger=None, check=None):
     super().__init__(
         logger,
         {
             'check_name': 'reframe',
             'check_jobid': '-1',
             'check_info': 'reframe',
             'check_system': None,
             'check_partition': None,
             'check_environ': None,
             'check_outputdir': None,
             'check_stagedir': None,
             'check_perf_var': None,
             'check_perf_value': None,
             'check_perf_ref': None,
             'check_perf_lower_thres': None,
             'check_perf_upper_thres': None,
             'check_perf_unit': None,
             'osuser':  os_ext.osuser()  or '<unknown>',
             'osgroup': os_ext.osgroup() or '<unknown>',
             'check_tags': None,
             'version': reframe.VERSION,
         }
     )
     self.check = check
     self.colorize = False
Exemplo n.º 2
0
 def __init__(self):
     super().__init__()
     self.valid_systems = ['daint:login', 'dom:login']
     self.executable = 'srun'
     self.executable_opts = ['-A', ext.osgroup(), 'hostname']
     self.sanity_patterns = sn.assert_found(
         r'error: You have to specify, at least, what sort of node you '
         r'need: -C gpu for GPU enabled nodes, or -C mc for multicore '
         r'nodes.', self.stderr)