Commit 5ba6fc01 authored by Eike Ziller's avatar Eike Ziller Committed by hjk
Browse files

Dumper tests: Use lldb from /Applications/Xcode by default on Mac



Change-Id: I1974a6ad63a914d860fa99e55cf0162774ab7b07
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 780c21a1
......@@ -762,8 +762,13 @@ private:
void tst_Dumpers::initTestCase()
{
m_debuggerBinary = qgetenv("QTC_DEBUGGER_PATH_FOR_TEST");
if (m_debuggerBinary.isEmpty())
if (m_debuggerBinary.isEmpty()) {
#ifdef Q_OS_MAC
m_debuggerBinary = "/Applications/Xcode.app/Contents/Developer/usr/bin/lldb";
#else
m_debuggerBinary = "gdb";
#endif
}
qDebug() << "Debugger : " << m_debuggerBinary.constData();
m_debuggerEngine = GdbEngine;
......
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