From 2884c8be7d35ddd7060926a3db3367542e39099f Mon Sep 17 00:00:00 2001 From: degomme Date: Thu, 2 Mar 2017 16:36:22 +0100 Subject: [PATCH] Add the failing tests name to the final output for mpich3 tests, to ease identification. --- teshsuite/smpi/mpich3-test/runtests | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/teshsuite/smpi/mpich3-test/runtests b/teshsuite/smpi/mpich3-test/runtests index c51bc2ab7b..1e7ce7cbac 100755 --- a/teshsuite/smpi/mpich3-test/runtests +++ b/teshsuite/smpi/mpich3-test/runtests @@ -270,6 +270,7 @@ if ($batchRun) { else { if ($err_count) { print "$err_count tests failed out of $total_run\n"; + print "Failing tests : $failed_tests\n"; if ($xmloutput) { print "Details in $xmlfullfile\n"; } @@ -657,6 +658,8 @@ sub RunMPIProgram { print STDERR "Unexpected output in $programname: $_"; if (!$found_error) { $found_error = 1; + $failed_tests .= $programname; + $failed_tests .= " "; $err_count ++; } } @@ -665,6 +668,8 @@ sub RunMPIProgram { print STDERR "Program $programname exited without No Errors\n"; if (!$found_error) { $found_error = 1; + $failed_tests .= $programname; + $failed_tests .= " "; $err_count ++; } } @@ -680,6 +685,8 @@ sub RunMPIProgram { if ($signal_num != 0) { print STDERR "Program $programname exited with signal $signal_num\n"; } + $failed_tests .= $programname; + $failed_tests .= " "; $found_error = 1; $err_count ++; } -- 2.20.1