From f0e0baea0bd2b2849fa9eaf112b33957c3da4fd0 Mon Sep 17 00:00:00 2001 From: Bjorn Munch Date: Tue, 8 Mar 2011 19:21:44 +0100 Subject: [PATCH] Add extra line after unit test report in MTR --- mysql-test/mysql-test-run.pl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 97737443e1c..ddbd8d1d639 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -508,7 +508,10 @@ sub main { $opt_gcov_msg, $opt_gcov_err); } - print "$ctest_report\n" if $ctest_report; + if ($ctest_report) { + print "$ctest_report\n"; + mtr_print_line(); + } print_total_times($opt_parallel) if $opt_report_times; @@ -5730,7 +5733,7 @@ sub run_ctest() { $tinfo->{comment}.= "\nctest did not pruduce report summary" if ! $ctres; $tinfo->{result}= ($ctres && !$ctfail) ? 'MTR_RES_PASSED' : 'MTR_RES_FAILED'; - $ctest_report .= "Report from unit tests in $ctfile\n"; + $ctest_report .= "Report from unit tests in $ctfile"; $tinfo->{failures}= ($tinfo->{result} eq 'MTR_RES_FAILED'); mark_time_used('test');