summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-09-06 12:49:36 +0200
committerhjk <hjk@qt.io>2018-09-07 08:55:33 +0000
commit9a0030a8bafd76d6c86af5d8179d544b1838d134 (patch)
tree12e3fda815d27260e375ba383081672fb95793d2 /tests/auto
parent29db0af9f8d6492574cddd9ea8f33975a0ba5a57 (diff)
downloadqt-creator-9a0030a8bafd76d6c86af5d8179d544b1838d134.tar.gz
Debugger: Make inheritance dumper test pass again
Change-Id: I2dcb6f811c34beda52e4b4d01526222b4e2abfd7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/debugger/tst_dumpers.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index 529a125bec..a77981b12d 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -6574,19 +6574,19 @@ void tst_Dumpers::dumper_data()
"D &dr = dd; unused(&dr);\n")
+ Cxx11Profile()
+ Check("c.c", "1", "int")
- + Check("c.@1.@2.a", "42", "int") % NoLldbEngine
- + Check("c.@1.@4.v", "45", "int") % NoLldbEngine
- + Check("c.@2.@2.a", "43", "int") % NoLldbEngine
- + Check("c.@2.@4.v", "45", "int") % NoLldbEngine
- + Check("c.@1.@1.a", "42", "int") % LldbEngine
- + Check("c.@1.@2.v", "45", "int") % LldbEngine
- + Check("c.@2.@1.a", "43", "int") % LldbEngine
- + Check("c.@2.@2.v", "45", "int") % LldbEngine
+ + CheckSet({{"c.@1.@2.a", "42", "int"}, // LLDB vs GDB vs ..
+ {"c.@1.@1.a", "42", "int"}})
+ + CheckSet({{"c.@2.@2.a", "43", "int"},
+ {"c.@2.@1.a", "43", "int"}})
+ + CheckSet({{"c.@1.@4.v", "45", "int"},
+ {"c.@1.@2.v", "45", "int"},
+ {"c.@2.@4.v", "45", "int"},
+ {"c.@2.@2.v", "45", "int"}})
+ Check("tt.c", "1", "int")
- + Check("tt.@1.@2.v", "45", "int") % NoLldbEngine
- + Check("tt.@2.@2.v", "45", "int") % NoLldbEngine
- + Check("tt.@1.@1.v", "45", "int") % LldbEngine
- + Check("tt.@2.@1.v", "45", "int") % LldbEngine
+ + CheckSet({{"tt.@1.@2.v", "45", "int"},
+ {"tt.@1.@1.v", "45", "int"},
+ {"tt.@2.@2.v", "45", "int"},
+ {"tt.@2.@1.v", "45", "int"}})
+ Check("dd.@1.@1.a", "1", "int") // B::a
// C::a - fails with command line LLDB 3.8/360.x