aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/debugger/tst_dumpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/debugger/tst_dumpers.cpp')
-rw-r--r--tests/auto/debugger/tst_dumpers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index 3646f9eaac..86b08d7f26 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -1215,6 +1215,7 @@ void tst_Dumpers::initTestCase()
m_debuggerVersion = ba.toInt();
if (!m_debuggerVersion) {
if (output.startsWith("lldb version")) {
+ output = output.split('\n')[0]; // drop clang/llvm version
int pos1 = output.indexOf('.', 13);
int major = output.mid(13, pos1++ - 13).toInt();
int pos2 = output.indexOf(' ', pos1);