summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestlog.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-03-10 11:38:59 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-03-14 14:28:34 +0000
commit8864aca9e5a0b2fd727ffc010bc0e9a538f1546b (patch)
tree3bb5869b4530738be29fc7aa13bad33991b2d085 /src/testlib/qtestlog.cpp
parentb202ed3c31aa3299197c2fcd03d07bc7fc74d575 (diff)
Make testlib selftests pass for shadow-builds
Using QFileInfo to check if the file exists based on the filename alone ignores the fact that all the expected files are embedded as QRC resources. The expectedResult() function already does a similar check, so we can use that directly instead of checking twice if the file exists. Task-number: QTBUG-66981 Change-Id: I0beb8d3503ed49682ae7d7e2a5172922fab5420d Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/testlib/qtestlog.cpp')
0 files changed, 0 insertions, 0 deletions