We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 092a87b commit 2f4e2a5Copy full SHA for 2f4e2a5
1 file changed
testflo/filters.py
@@ -40,5 +40,9 @@ def get_iter(self, input_iter):
40
for result in input_iter:
41
if result.status == 'FAIL' and not result.expected_fail:
42
with open(self.outfile, 'a') as f:
43
- print(result.spec, file=f)
+ if result.nprocs > 1:
44
+ spec = f"{result.spec} # mpi, nprocs={result.nprocs}"
45
+ else:
46
+ spec = result.spec
47
+ print(spec, file=f)
48
yield result
0 commit comments