From c6ae5ab50668e90462b24bed7e3a7b62d05de256 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 11 Dec 2020 15:27:40 +0100 Subject: [PATCH] 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 --- 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 c36b172e35c..cfe7870ff48 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -6567,10 +6567,10 @@ void tst_Dumpers::dumper_data() + Cxx11Profile() + GdbVersion(80200) - + Check("i", "1", "int &&") % NoCdbEngine - + Check("i", "1", "int") % CdbEngine - + Check("s", AnyValue, "S &&") % NoCdbEngine - + Check("s", AnyValue, "S") % CdbEngine + // GDB has &&, LLDB & or &&, CDB nothing, possibly also depending + // on compiler. Just check the base type is there. + + Check("i", "1", TypePattern("int &?&?")) + + Check("s", AnyValue, TypePattern("S &?&?")) + Check("s.a", "32", "int");