Unit tests failures

Boudewijn Rempt boud at valdyas.org
Sun Oct 30 10:52:09 GMT 2011


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?

Boudewijn



More information about the calligra-devel mailing list