diff --git a/autotests/writetest.cpp b/autotests/writetest.cpp index 03f576c..ab2db9d 100644 --- a/autotests/writetest.cpp +++ b/autotests/writetest.cpp @@ -403,7 +403,8 @@ int formatTest(const QString &suffix, bool createTemplates) // checking the format: must be the same if (writtenImage.format() != tmplImage.format()) { ++failed; - QTextStream(stdout) << "FAIL : format mismatch " << formatName << "\n"; + auto tmplformatName = QString(QMetaEnum::fromType().valueToKey(tmplImage.format())); + QTextStream(stdout) << "FAIL : format mismatch " << formatName << " != " << tmplformatName << "\n"; continue; }