From 1c9ea038d09400936836957bc6197e91a1bfd66c Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Mon, 12 Jun 2023 13:05:23 +0200 Subject: [PATCH] MISC: additional -repeat option for testing MPI_Comm leakage (#1598) --- .../test/parallel-comm1/Test-parallel-comm1.C | 71 ++++++++++++------- 1 file changed, 44 insertions(+), 27 deletions(-) diff --git a/applications/test/parallel-comm1/Test-parallel-comm1.C b/applications/test/parallel-comm1/Test-parallel-comm1.C index bc856e781c..ed8ce38516 100644 --- a/applications/test/parallel-comm1/Test-parallel-comm1.C +++ b/applications/test/parallel-comm1/Test-parallel-comm1.C @@ -121,17 +121,22 @@ scalar sumReduce int main(int argc, char *argv[]) { + argList::noCheckProcessorDirectories(); + argList::addVerboseOption(); + argList::addOption("repeat", "count"); #include "setRootCase.H" - #include "createTime.H" + + const label repeat = args.getOrDefault