Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion testflo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ def dryrun(input_iter):
for test in tests:
if test.status is None:
test.status = 'OK'
print(test.spec)
if test.nprocs > 1:
spec = f"{test.spec} # mpi, nprocs={test.nprocs}"
else:
spec = test.spec
print(spec)
yield test


Expand Down
2 changes: 1 addition & 1 deletion testflo/printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _print_result(self, result):

if (self.verbose == 0 and (result.err_msg and show_msg)) or self.verbose > 0:
if result.mpi and result.nprocs > 0:
run_type = '(mpi) '
run_type = f'(mpi {result.nprocs}) '
elif result.isolated:
run_type = '(isolated) '
else:
Expand Down
Loading