Skip to content
Open
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
7 changes: 6 additions & 1 deletion test/mpi/runtests
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ $g_opt{defaultTimeLimitMultiplier} = 1.0; # default multiplier for timeout limit
$g_opt{verbose} = 0; # Set to true to get more output
$g_opt{debug} = 1;
$g_opt{showprogress} = 0; # Set to true to get a "." with each run program.
$g_opt{ignore_output} = 0; # Set to allow output to stdout/stderr without triggering error
$g_opt{newline} = "\r\n"; # Set to \r\n for Windows-friendly, \n for Unix only
$g_opt{run_mpitests} = 1; # Set to true to functional tests using run_mpitests
# (i.e., run tests inside a single MPI_Init/Finalize)
Expand Down Expand Up @@ -180,6 +181,10 @@ if (defined($ENV{"MPITEST_TIMEOUT_MULTIPLIER"})) {
$g_opt{defaultTimeLimitMultiplier} = $ENV{"MPITEST_TIMEOUT_MULTIPLIER"};
}

if (defined($ENV{"MPITEST_IGNORE_OUTPUT"})) {
$g_opt{ignore_output} = $ENV{"MPITEST_IGNORE_OUTPUT"};
}

for my $key ("memory_total", "memory_multiplier", "cleanup") {
my $k = "MPITEST_".uc($key);
if (defined($ENV{$k})) {
Expand Down Expand Up @@ -1229,7 +1234,7 @@ sub check_result {
elsif (/^srun: error: .*: signal: Communication connection failure/) {
# skip
}
else {
elsif (!$g_opt{ignore_output}) {
$stray_output++;
}
}
Expand Down