Unit tests failures
Boudewijn Rempt
boud at valdyas.org
Sun Oct 30 13:50:25 GMT 2011
On Sunday 30 October 2011 Oct, Dmitry Kazakov wrote:
> On Sun, Oct 30, 2011 at 1:52 PM, Boudewijn Rempt <boud at valdyas.org> wrote:
>
> > Strange, I see a krita unittest failure:
> >
> > Test output
> >
> > ********* Start testing of KisProcessingsTest *********
> > Config: Using QTest library 4.6.2, Qt 4.6.2
> > PASS : KisProcessingsTest::initTestCase()
> > QDEBUG : KisProcessingsTest::testCropVisitor() qttest(14955)
> > KoGenericRegistry<T>::add: Registry already contains item "LABA"
> > QDEBUG : KisProcessingsTest::testCropVisitor() qttest(14955)
> > KoGenericRegistry<T>::add: Registry already contains item "RGBA16"
> > QDEBUG : KisProcessingsTest::testCropVisitor() qttest(14955)
> > KoGenericRegistry<T>::add: Registry already contains item "RGBA"
> > QDEBUG : KisProcessingsTest::testCropVisitor() qttest(14955)
> > KoGenericRegistry<T>::add: Registry already contains item "GRAYA16HISTO"
> > QDEBUG : KisProcessingsTest::testCropVisitor() --- Wrong image:
> > "initial_blur1_original.png"
> > QDEBUG : KisProcessingsTest::testCropVisitor() --- Wrong image:
> > "initial_blur1_projection.png"
> > FAIL! : KisProcessingsTest::testCropVisitor() 'checkLayers(image,
> > "initial")' returned FALSE. ()
> > Loc:
> > [/home/cyrille/src/calligra/krita/image/tests/kis_processings_test.cpp(59)]
> > QDEBUG : KisProcessingsTest::testTransformVisitorScale() --- Wrong image:
> > "initial_blur1_original.png"
> > QDEBUG : KisProcessingsTest::testTransformVisitorScale() --- Wrong image:
> > "initial_blur1_projection.png"
> > FAIL! : KisProcessingsTest::testTransformVisitorScale()
> > 'checkLayers(image, "initial")' returned FALSE. ()
> > Loc:
> > [/home/cyrille/src/calligra/krita/image/tests/kis_processings_test.cpp(59)]
> > QDEBUG : KisProcessingsTest::testTransformVisitorScaleRotate() --- Wrong
> > image: "initial_blur1_original.png"
> > QDEBUG : KisProcessingsTest::testTransformVisitorScaleRotate() --- Wrong
> > image: "initial_blur1_projection.png"
> > FAIL! : KisProcessingsTest::testTransformVisitorScaleRotate()
> > 'checkLayers(image, "initial")' returned FALSE. ()
> > Loc:
> > [/home/cyrille/src/calligra/krita/image/tests/kis_processings_test.cpp(59)]
> > PASS : KisProcessingsTest::cleanupTestCase()
> > Totals: 2 passed, 3 failed, 0 skipped
> > ********* Finished testing of KisProcessingsTest *********
> > kDebugStream called after destruction (from
> > KisMemoryLeakTracker::~KisMemoryLeakTracker() file
> > /home/cyrille/src/calligra/krita/image/kis_memory_leak_tracker.cpp line 128)
> > No leak detected.
> >
> >
> > But that test has never failed for me locally. Could it be an lcms1 vs
> > lcms2 issue?
> >
>
> Yes, it compares png's so it is due to lcms. Btw, chuncher has an old
> version of Qt.
>
Okay, made sure the test only is executed with the lcms2 engine.
--
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl
More information about the calligra-devel
mailing list