diff options
author | unknown <msvensson@pilot.mysql.com> | 2008-05-05 22:55:47 +0200 |
---|---|---|
committer | unknown <msvensson@pilot.mysql.com> | 2008-05-05 22:55:47 +0200 |
commit | e70c291046991428e9a9ddde6e765a9fe817a8ba (patch) | |
tree | ce6584a6c4a008d841c357f91a4e8b6cc542c3bc /mysql-test/lib/mtr_report.pm | |
parent | 7b8054e1f54579e68940e9b39df322051fe73655 (diff) | |
download | mariadb-git-e70c291046991428e9a9ddde6e765a9fe817a8ba.tar.gz |
Add printouts
mysql-test/lib/mtr_report.pm:
Add 'mtr_print'
Diffstat (limited to 'mysql-test/lib/mtr_report.pm')
-rw-r--r-- | mysql-test/lib/mtr_report.pm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mysql-test/lib/mtr_report.pm b/mysql-test/lib/mtr_report.pm index 4a321e5d847..1a8a5e3e0ec 100644 --- a/mysql-test/lib/mtr_report.pm +++ b/mysql-test/lib/mtr_report.pm @@ -26,7 +26,7 @@ our @EXPORT= qw(report_option mtr_print_line mtr_print_thick_line mtr_print_header mtr_report mtr_report_stats mtr_warning mtr_error mtr_debug mtr_verbose mtr_verbose_restart mtr_report_test_passed - mtr_report_test_skipped + mtr_report_test_skipped mtr_print mtr_report_test); use mtr_match; @@ -386,8 +386,13 @@ sub _timestamp { $tm->hour, $tm->min, $tm->sec, $diff); } +# Always print message to screen +sub mtr_print (@) { + print $name, join(" ", @_), "\n"; +} + -# Print message to screen +# Print message to screen if verbose is defined sub mtr_report (@) { if (defined $verbose) { |