summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengl.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-02-07 09:04:35 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-02-14 16:07:10 +0000
commita7600bf60453305a2b3344a9c1cd35ca4b2bf7fd (patch)
tree275dc9e7fbf1058c1deb47ec5b190ceafa45f663 /src/gui/opengl/qopengl.h
parent318f728283c08ffb93c7469f671b43a010c57e0d (diff)
QTestlib/selftests: Refactor comparison
The "crashes" subtest has several "expected" reference files. The matching one was previously determined by checking the line count of the output. This however does not work when there are several reference files with identical line count as is now the case with boot2qt. Refactor the comparison code from the QTest/preliminary void return to the bool f(QString* errorMessage) convention so that all files can be tried. While doing so, streamline the code and remove numerous unneeded allocations of strings and regular expressions per compared line. Task-number: QTBUG-65845 Change-Id: I722159d1753f2a36f0e497e315ffd81cb58cac0b Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/gui/opengl/qopengl.h')
0 files changed, 0 insertions, 0 deletions