Skip to content

Commit

Permalink
don't inherit from mixin in base class
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Moors committed Dec 30, 2024
1 parent 21de9d9 commit 06e808a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions eessi/testsuite/tests/apps/osu.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,11 @@ def filter_scales_coll():
]


@rfm.simple_test
class EESSI_OSU_Base(osu_benchmark, EESSI_Mixin):
class EESSI_OSU_Base(osu_benchmark):
""" base class for OSU tests """
time_limit = '30m'
module_name = parameter(find_modules('OSU-Micro-Benchmarks'))
device_type = parameter([DEVICE_TYPES[CPU], DEVICE_TYPES[GPU]])
compute_unit = None

# reset num_tasks_per_node from the hpctestlib: we handle it ourselves
num_tasks_per_node = None
Expand Down Expand Up @@ -97,7 +95,7 @@ def skip_test_1gpu(self):


@rfm.simple_test
class EESSI_OSU_Micro_Benchmarks_pt2pt(EESSI_OSU_Base):
class EESSI_OSU_Micro_Benchmarks_pt2pt(EESSI_OSU_Base, EESSI_Mixin):
''' point-to-point OSU test '''
scale = parameter(filter_scales_pt2pt())
compute_unit = COMPUTE_UNIT[NODE]
Expand Down Expand Up @@ -132,7 +130,7 @@ def adjust_executable_opts(self):


@rfm.simple_test
class EESSI_OSU_Micro_Benchmarks_coll(EESSI_OSU_Base):
class EESSI_OSU_Micro_Benchmarks_coll(EESSI_OSU_Base, EESSI_Mixin):
''' collective OSU test '''
scale = parameter(filter_scales_coll())

Expand Down

0 comments on commit 06e808a

Please sign in to comment.