summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qlogging/app
diff options
context:
space:
mode:
authorSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-04-06 15:44:48 +0300
committerSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-04-07 08:12:14 +0000
commitac76b2424d323ad7eed0238116366587b742d93f (patch)
tree76f5e2564404263cf7213d29dd69131812d10bb4 /tests/auto/corelib/global/qlogging/app
parentc7e7a785c6e3bec422fe5b62361e5417240c0ada (diff)
tst_qmessagehandler: fix qMessagePattern for arm
Backtrace logging tests were not passing for arm. Added compile option -funwind-tables to support backtrace on arm. Task-number: QTBUG-59966 Change-Id: I5e2443b1e3a644a239dab68db990e75ae8fade24 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/global/qlogging/app')
-rw-r--r--tests/auto/corelib/global/qlogging/app/app.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/corelib/global/qlogging/app/app.pro b/tests/auto/corelib/global/qlogging/app/app.pro
index 8ada04acdc..6fba1b6129 100644
--- a/tests/auto/corelib/global/qlogging/app/app.pro
+++ b/tests/auto/corelib/global/qlogging/app/app.pro
@@ -11,5 +11,7 @@ CONFIG += console
SOURCES += main.cpp
DEFINES += QT_MESSAGELOGCONTEXT
-gcc:!mingw:!haiku: QMAKE_LFLAGS += -rdynamic
-
+gcc:!mingw:!haiku {
+ QMAKE_LFLAGS += -rdynamic
+ contains(QT_ARCH, arm): QMAKE_CXXFLAGS += -funwind-tables
+}