summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Goddard <michael.goddard@nokia.com>2011-08-24 12:28:50 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-26 02:22:09 +0200
commitc478ebc91445b3f7b42a594208aca4d8e9c71a70 (patch)
tree967ccfbf3a8bfc889bf3e9aa1e3daf0859e7a000
parente6cecd9ce01b1fcdf7d8038fa79cd60b10ab43bf (diff)
Don't use the // operator, since some versions of Perl don't have it.
Could use || but it's only used for an if test anyway. Change-Id: I97fe251ab4f27fb75981af12316aaf5da053d47a Reviewed-on: http://codereview.qt.nokia.com/3431 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
-rwxr-xr-xbin/qtmodule-configtests2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/qtmodule-configtests b/bin/qtmodule-configtests
index 0552f8e614..ab03908c84 100755
--- a/bin/qtmodule-configtests
+++ b/bin/qtmodule-configtests
@@ -267,7 +267,7 @@ if (abs_path($out_basedir) ne abs_path($qtbasedir)) {
while ((my $testName, my $testParameters) = each %configtests) {
printf " % *s: ", $maxNameLength, $testName; # right aligned, yes/no lines up
- my $fatalTest = $testParameters->{"fatal"} // 0;
+ my $fatalTest = $testParameters->{"fatal"};
my $message = $testParameters->{"message"};
my $testResult = executeTest($testName);