Don't print the "Configuration tests:" header if there aren't any.
authorMichael Goddard <michael.goddard@nokia.com>
Wed, 27 Jul 2011 00:38:16 +0000 (10:38 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 10 Aug 2011 08:39:52 +0000 (10:39 +0200)
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>
bin/qtmodule-configtests

index f6cc205..0552f8e 100755 (executable)
@@ -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