summaryrefslogtreecommitdiffstats
path: root/bin/qtmodule-configtests
diff options
context:
space:
mode:
authorMichael Goddard <michael.goddard@nokia.com>2011-07-27 10:38:16 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-10 10:39:52 +0200
commitca3120aa20038b22810d675c93cd1eac1dcc88d1 (patch)
tree892e124c1e6d2bbde5513c55e5884706fc1b6f60 /bin/qtmodule-configtests
parent81d15e059fe2367788b3b0d1aa34171a2cc9692b (diff)
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 <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'bin/qtmodule-configtests')
-rwxr-xr-xbin/qtmodule-configtests2
1 files changed, 1 insertions, 1 deletions
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