aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2019-06-28 10:45:46 +0200
committerDavid Schulz <david.schulz@qt.io>2019-07-02 09:22:02 +0000
commit9aef0c2ad3a3fa35373fde222079dfb8e3331cdc (patch)
tree25653622cbf04fa798a68e2f5001d40176177483 /tests/auto
parent05a53204fdfcbf31e1863766dbac4a28b27793b4 (diff)
Debugger: Fix rvalue dumper test for cdb
Change-Id: I4c977944928e97c69f7d1f4b1c666a42b443481a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/debugger/tst_dumpers.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index 8c3a17f4e1..5997750759 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -6021,14 +6021,15 @@ void tst_Dumpers::dumper_data()
+ Check("x3", "", "X &");
QTest::newRow("RValueReference")
- << Data("",
- "struct S { int a = 32; };\n"
+ << Data("struct S { int a = 32; };",
"auto foo = [](int && i, S && s) { BREAK; return i + s.a; };\n"
"foo(int(1), S());\n")
+ Cxx11Profile()
+ GdbVersion(80200)
- + Check("i", "1", "int &&")
- + CheckType("s", "S &&")
+ + Check("i", "1", "int &&") % NoCdbEngine
+ + Check("i", "1", "int") % CdbEngine
+ + CheckType("s", "S &&") % NoCdbEngine
+ + CheckType("s", "S") % CdbEngine
+ Check("s.a", "32", "int");
QTest::newRow("SSE")