From bf593e3f0472dc27f9badd69c3060eda387cd269 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 18 Mar 2014 16:57:35 +0100 Subject: [PATCH] Debugger: Adjust a few autotests to work with LLDB LLDB doesn't find const[] in the function, since this is not what the tests are supposed to check, dropping the const is simpler than using backend specific checks. Change-Id: Ifad1a57a3112b7cc5e86865e0035bab35cf5523d Reviewed-by: Christian Stenger --- tests/auto/debugger/tst_dumpers.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 9039eabef8c..1ba663329ab 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -4276,9 +4276,9 @@ GdbEngine QTest::newRow("CharArrays") - << Data("const char s[] = \"aöa\";\n" - "const char t[] = \"aöax\";\n" - "const wchar_t w[] = L\"aöa\";\n" + << Data("char s[] = \"aöa\";\n" + "char t[] = \"aöax\";\n" + "wchar_t w[] = L\"aöa\";\n" "unused(&s, &t, &w);\n") + CheckType("s", "char [5]") @@ -4289,7 +4289,7 @@ GdbEngine QTest::newRow("CharPointers") << Data("const char *s = \"aöa\";\n" "const char *t = \"a\\xc3\\xb6\";\n" - "const unsigned char uu[] = { 'a', 153 /* ö Latin1 */, 'a' };\n" + "unsigned char uu[] = { 'a', 153 /* ö Latin1 */, 'a' };\n" "const unsigned char *u = uu;\n" "const wchar_t *w = L\"aöa\";\n" "unused(&s, &t, &uu, &u, &w);\n")