Skip to content

Commit

Permalink
explicit in checking the test name
Browse files Browse the repository at this point in the history
  • Loading branch information
ilhamv committed Aug 17, 2024
1 parent db257f6 commit a2e96b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/regression/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@
# Skip domain decomp tests unless there are 4 MPI processes
temp = names.copy()
for name in names:
if name[:4] == "dd_s" and not (mpiexec == 4 or srun == 4):
if name == "dd_slab" and not (mpiexec == 4 or srun == 4):
temp.remove(name)
print(
Fore.YELLOW
+ "Note: Skipping %s (require 4 MPI ranks)" % name
+ Style.RESET_ALL
)
elif name[:4] == "dd_c" and not (mpiexec == 8 or srun == 8):
elif name == "dd_cooper" and not (mpiexec == 8 or srun == 8):
temp.remove(name)
print(
Fore.YELLOW
Expand Down

0 comments on commit a2e96b9

Please sign in to comment.