tst_qmessagehandler: fix qMessagePattern for arm with optimizations on

Backtrace logging tests were not passing for arm when -O2 option was used.
Set "-fno-inline" on for the app whose backtrace is to be inspected.

Task-number: QTBUG-59966
Change-Id: Id1bbf78c31dc524357a30c7d39c239689621b155
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
Sami Nurmenniemi 2017-04-24 15:19:56 +03:00
parent 77d82107b7
commit be36fca32b

View File

@ -13,5 +13,5 @@ DEFINES += QT_MESSAGELOGCONTEXT
gcc:!mingw:!haiku {
QMAKE_LFLAGS += -rdynamic
contains(QT_ARCH, arm): QMAKE_CXXFLAGS += -funwind-tables
contains(QT_ARCH, arm): QMAKE_CXXFLAGS += -funwind-tables -fno-inline
}