Commit e6e80866 authored by hjk's avatar hjk
Browse files

Debugger: Require DYLD_IMAGE_SUFFIX for QObject name tests

Would be nice to be able to avoid that...

Change-Id: Ib73de2d21266c2dd77dfda06c8b8b579a25f37ca
Reviewed-by: default avatarhjk <>
parent 4d8a210c
......@@ -2195,7 +2195,7 @@ void tst_Dumpers::dumper_data()
"child.setObjectName(\"A renamed Child\");\n")
% CoreProfile()
% UseDebugImage() // FIXME: Avoid the need.
% UseDebugImage() // FIXME: Avoid the need. Needed for LLDB object name.
% Check("child", "\"A renamed Child\"", "@QObject")
% Check("parent", "\"A Parent\"", "@QObject");
......@@ -2256,6 +2256,7 @@ void tst_Dumpers::dumper_data()
"#include <QStringList>\n"
"#include <QVariant>\n"
"#include <QApplication>\n",
"QApplication app(argc, argv);\n"
"QWidget ob;\n"
"ob.setObjectName(\"An Object\");\n"
......@@ -2275,11 +2276,15 @@ void tst_Dumpers::dumper_data()
"ob2.setObjectName(\"A Subobject\");\n"
"unused(&ob, &ob1, &ob2);\n")
% GuiProfile()
% UseDebugImage() // FIXME: Needed for QObject name
% Check("ob", "\"An Object\"", "@QWidget")
% Check("ob1", "\"Another Object\"", "@QObject")
% Check("ob2", "\"A Subobject\"", "@QObject");
QByteArray senderData =
" class Sender : public QObject\n"
" {\n"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment