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>
This commit is contained in:
Michael Goddard 2011-07-27 10:38:16 +10:00 committed by Qt by Nokia
parent 81d15e059f
commit ca3120aa20

View File

@ -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