forked from qt-creator/qt-creator
Dumper tests: Use lldb from /Applications/Xcode by default on Mac
Change-Id: I1974a6ad63a914d860fa99e55cf0162774ab7b07 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user