Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Crivella committed Sep 23, 2024
1 parent da17ec8 commit 3aa9f34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eessi/testsuite/tests/apps/MetalWalls.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@ def request_mem(self):
def skip_max_corecnt(self):
"""Skip tests if number of tasks per node exceeds maximum core count."""
max_corecnt = 256
bench_name = self.benchmark_info[0]
self.skip_if(
self.num_tasks > max_corecnt,
f'Number of tasks per node {self.num_tasks} exceeds maximum core count {max_corecnt} for {self.benchmark_info[0]}'
f'Number of tasks per node {self.num_tasks} exceeds maximum core count {max_corecnt} for {bench_name}'
)

@run_after('setup')
Expand Down

0 comments on commit 3aa9f34

Please sign in to comment.