Skip to content

Commit 560e92e

Browse files
authored
Merge pull request #491 from msimberg/regression-plugin
Update `RegressionMixin` to `RegressionTestPlugin`
2 parents 0f99c77 + c9d456e commit 560e92e

File tree

12 files changed

+13
-13
lines changed

12 files changed

+13
-13
lines changed

checks/microbenchmarks/gpu/memory_bandwidth/memory_bandwidth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import microbenchmarks.gpu.hooks as hooks
1414

1515

16-
class SystemConfigCSCS(rfm.RegressionMixin):
16+
class SystemConfigCSCS(rfm.RegressionTestPlugin):
1717
@run_after('init')
1818
def arola_tsa_valid_prog_environs(self):
1919
if self.current_system.name in ['arolla', 'tsa']:

checks/microbenchmarks/gpu/pointer_chase/pointer_chase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import microbenchmarks.gpu.hooks as hooks
1515

1616

17-
class SystemConfigCSCS(rfm.RegressionMixin):
17+
class SystemConfigCSCS(rfm.RegressionTestPlugin):
1818
'''CSCS system settings shared across all pointer chase tests.'''
1919

2020
single_device_systems = variable(

checks/microbenchmarks/hpcg/hpcg_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import reframe.utility.sanity as sn
99

1010

11-
class HPCGHookMixin(rfm.RegressionMixin):
11+
class HPCGHookMixin(rfm.RegressionTestPlugin):
1212
@run_before('run')
1313
def guide_node_guess(self):
1414
'''Guide the node guess based on the test's needs.'''

checks/microbenchmarks/mpi/osu/osu_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def set_perf(self):
9292
}
9393

9494

95-
class OSUCuda(rfm.RegressionMixin):
95+
class OSUCuda(rfm.RegressionTestPlugin):
9696
@run_after('init')
9797
def setup_test(self):
9898
self.valid_systems = ['+remote +nvgpu']

checks/mixins/container_engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from reframe.core.exceptions import EnvironError
1212

1313

14-
class ContainerEngineMixin(rfm.RegressionMixin):
14+
class ContainerEngineMixin(rfm.RegressionTestPlugin):
1515
#: The container image to use.
1616
#:
1717
#: :default: ``required``
@@ -73,7 +73,7 @@ def set_container_engine_env_launcher_options(self):
7373
self.job.launcher.options += [f'--environment={self.env_file}']
7474

7575

76-
class ContainerEngineCPEMixin(rfm.RegressionMixin):
76+
class ContainerEngineCPEMixin(rfm.RegressionTestPlugin):
7777
@run_after('setup')
7878
def set_container_mounts(self):
7979
current_environ = self.current_environ

checks/mixins/cuda_visible_devices_all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import reframe as rfm
77

88

9-
class CudaVisibleDevicesAllMixin(rfm.RegressionMixin):
9+
class CudaVisibleDevicesAllMixin(rfm.RegressionTestPlugin):
1010
@run_after('setup')
1111
def set_cuda_visible_devices(self):
1212
curr_part = self.current_partition

checks/mixins/extra_launcher_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import reframe as rfm
77

88

9-
class ExtraLauncherOptionsMixin(rfm.RegressionMixin):
9+
class ExtraLauncherOptionsMixin(rfm.RegressionTestPlugin):
1010
@run_before('run')
1111
def set_launcher_options(self):
1212
self.job.launcher.options += (

checks/mixins/sarus_extra_launcher_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import reframe as rfm
77

88

9-
class SarusExtraLauncherOptionsMixin(rfm.RegressionMixin):
9+
class SarusExtraLauncherOptionsMixin(rfm.RegressionTestPlugin):
1010
@run_before('run')
1111
def set_launcher_options(self):
1212
if self.current_system.name in {'hohgant'}:

checks/mixins/slurm_mpi_pmix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import reframe as rfm
77

88

9-
class SlurmMpiPmixMixin(rfm.RegressionMixin):
9+
class SlurmMpiPmixMixin(rfm.RegressionTestPlugin):
1010
"""
1111
Set slurm --mpi flags for containers that require PMIx.
1212

checks/mixins/uenv_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import reframe as rfm
77

88

9-
class UenvSetup(rfm.RegressionMixin):
9+
class UenvSetup(rfm.RegressionTestPlugin):
1010
@run_after('setup')
1111
def setup_uenv(self):
1212
pass

0 commit comments

Comments
 (0)