summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp b/tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp
index 613623759c..5d99cca8d9 100644
--- a/tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp
+++ b/tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp
@@ -741,8 +741,11 @@ void tst_QPrinter::customPaperNameSettingBySize()
}
}
// Fail with the original values
- if (!paperNameFound)
+ if (!paperNameFound) {
+ qDebug() << "supportedPageSizes() = " << sizes;
+ QEXPECT_FAIL("", "Paper Name mismatch: please report this failure at bugreports.qt-project.org", Continue);
QCOMPARE(sizes.at(i).name(), printer.paperName());
+ }
}
// Check setting a custom size after setting a standard one works