diff options
author | Christian Stenger <christian.stenger@digia.com> | 2014-05-13 13:33:28 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-05-15 14:55:59 +0200 |
commit | 3077ddc9b5a0a083d8e108c8497863d9219df69c (patch) | |
tree | 9f2b3ba35d32155d09f6ce060f653e7b7442095d /tests | |
parent | a9c15c0bf5e04595bc5c1e8bd38506d325da0eb0 (diff) | |
download | qt-creator-3077ddc9b5a0a083d8e108c8497863d9219df69c.tar.gz |
Tests: Fix dumper execution on Mac
Change-Id: I93fbbb48438f8012764c5365e502ed5faa895c5f
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/debugger/tst_dumpers.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index d7935c45e9..e22849ffce 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -1045,7 +1045,12 @@ void tst_Dumpers::dumper() qmake.setWorkingDirectory(t->buildPath); cmd = QString::fromLatin1(m_qmakeBinary); //qDebug() << "Starting qmake: " << cmd; - qmake.start(cmd); + QStringList options; +#ifdef Q_OS_MAC + if (m_qtVersion < 0x050000) + options << QLatin1String("-spec") << QLatin1String("unsupported/macx-clang"); +#endif + qmake.start(cmd, options); QVERIFY(qmake.waitForFinished()); output = qmake.readAllStandardOutput(); error = qmake.readAllStandardError(); |