summaryrefslogtreecommitdiff
path: root/QMTest
diff options
context:
space:
mode:
Diffstat (limited to 'QMTest')
-rw-r--r--QMTest/TestSCons.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py
index f75a3ccc..8d53e111 100644
--- a/QMTest/TestSCons.py
+++ b/QMTest/TestSCons.py
@@ -1013,7 +1013,7 @@ SConscript( sconscript )
nols = nols + "|"
nols = nols + ")"
lastEnd = 0
- logfile = self.read(self.workpath(logfile))
+ logfile = self.read(self.workpath(logfile),mode='r')
if (doCheckLog and
logfile.find( "scons: warning: The stored build "
"information has an unexpected class." ) >= 0):