We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4cbbec9 + 69eb223 commit d6b4b7aCopy full SHA for d6b4b7a
2 files changed
testflo/main.py
@@ -59,7 +59,11 @@ def dryrun(input_iter):
59
for test in tests:
60
if test.status is None:
61
test.status = 'OK'
62
- print(test.spec)
+ if test.nprocs > 1:
63
+ spec = f"{test.spec} # mpi, nprocs={test.nprocs}"
64
+ else:
65
+ spec = test.spec
66
+ print(spec)
67
yield test
68
69
testflo/printer.py
@@ -43,7 +43,7 @@ def _print_result(self, result):
43
44
if (self.verbose == 0 and (result.err_msg and show_msg)) or self.verbose > 0:
45
if result.mpi and result.nprocs > 0:
46
- run_type = '(mpi) '
+ run_type = f'(mpi {result.nprocs}) '
47
elif result.isolated:
48
run_type = '(isolated) '
49
else:
0 commit comments