Debugger: Relax RValueReference test

Exact output depends on too many factors, just make sure the
base type is there.

Make LLDB+GCC on Linux pass.

Change-Id: I520a8367ab00ee95f87b5d4fb935f3ae21efd820
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2020-12-11 15:27:40 +01:00
parent 50b2eb934f
commit c6ae5ab506

View File

@@ -6567,10 +6567,10 @@ void tst_Dumpers::dumper_data()
+ Cxx11Profile() + Cxx11Profile()
+ GdbVersion(80200) + GdbVersion(80200)
+ Check("i", "1", "int &&") % NoCdbEngine // GDB has &&, LLDB & or &&, CDB nothing, possibly also depending
+ Check("i", "1", "int") % CdbEngine // on compiler. Just check the base type is there.
+ Check("s", AnyValue, "S &&") % NoCdbEngine + Check("i", "1", TypePattern("int &?&?"))
+ Check("s", AnyValue, "S") % CdbEngine + Check("s", AnyValue, TypePattern("S &?&?"))
+ Check("s.a", "32", "int"); + Check("s.a", "32", "int");