From ca3120aa20038b22810d675c93cd1eac1dcc88d1 Mon Sep 17 00:00:00 2001 From: Michael Goddard Date: Wed, 27 Jul 2011 10:38:16 +1000 Subject: Don't print the "Configuration tests:" header if there aren't any. Change-Id: Ie7f0022348aba90e240f5b68e838430ec4e43ae9 Reviewed-on: http://codereview.qt.nokia.com/2228 Reviewed-by: Qt Sanity Bot Reviewed-by: Rohan McGovern --- bin/qtmodule-configtests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/qtmodule-configtests b/bin/qtmodule-configtests index f6cc2052da..0552f8e614 100755 --- a/bin/qtmodule-configtests +++ b/bin/qtmodule-configtests @@ -262,7 +262,7 @@ if (abs_path($out_basedir) ne abs_path($qtbasedir)) { $| = 1; # Now run the configuration tests - print "Configuration tests:\n"; + print "Configuration tests:\n" if (%configtests); while ((my $testName, my $testParameters) = each %configtests) { printf " % *s: ", $maxNameLength, $testName; # right aligned, yes/no lines up -- cgit v1.2.3