From 1bfe8fea345bb2df5023ad56d399be427737a3d2 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 7 Aug 2013 20:44:32 -0600 Subject: lib/locale.t: Move advice output to end This just moves a block so that the messages it generates are displayed at the end of the locale.t output, instead of in the middle. This makes them more likely to be noticed. --- lib/locale.t | 152 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 76 insertions(+), 76 deletions(-) (limited to 'lib/locale.t') diff --git a/lib/locale.t b/lib/locale.t index 8894a388aa..f133351926 100644 --- a/lib/locale.t +++ b/lib/locale.t @@ -1697,82 +1697,6 @@ foreach ($first_locales_test_number..$final_locales_test_number) { print "\n"; } -# Give final advice. - -my $didwarn = 0; - -foreach ($first_locales_test_number..$final_locales_test_number) { - if ($Problem{$_}) { - my @f = sort keys %{ $Problem{$_} }; - my $f = join(" ", @f); - $f =~ s/(.{50,60}) /$1\n#\t/g; - print - "#\n", - "# The locale ", (@f == 1 ? "definition" : "definitions"), "\n#\n", - "#\t", $f, "\n#\n", - "# on your system may have errors because the locale test $_\n", - "# \"$test_names{$_}\"\n", - "# failed in ", (@f == 1 ? "that locale" : "those locales"), - ".\n"; - print <