forked from qt-creator/qt-creator
Debugger: Make qfloat16 dumper test pass with Qt 6
45.3 is represented as 45.28125 in Qt 5, but as 45.3125 in Qt 6. Actually an improvement. Task-number: QTCREATORBUG-24098 Change-Id: I779bfd8a2b4a2ae91f5e40dbe54ba75000531f4c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -5855,7 +5855,8 @@ void tst_Dumpers::dumper_data()
|
||||
// Using numpy:
|
||||
// + Check("f1", "45.281", "@qfloat16")
|
||||
// + Check("f2", "45.094", "@qfloat16");
|
||||
+ Check("f1", "45.28125", "@qfloat16")
|
||||
+ Check("f1", "45.28125", "@qfloat16") % Qt5
|
||||
+ Check("f1", "45.3125", "@qfloat16") % Qt6
|
||||
+ Check("f2", "45.09375", "@qfloat16");
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user