Unit tests failures

Dmitry Kazakov dimula73 at gmail.com
Sun Oct 30 13:30:18 GMT 2011


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.


-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20111030/a3a8171d/attachment.htm>


More information about the calligra-devel mailing list