UnitTest failures

2008-05-12
2013-04-23
  • I'm trying to run the UnitTest program and getting a number of failures.  Are these expected?  gcc 4.3 on Fedora 9, i386.

    Loading Library: libFWExternalFuncTest.so
    Library: ImageTestCatalog
            Catalog: FilterBoxTestCatalog
                    Function: fwiFilterBox_8u_C1R
            Object.h(125) Advice config file () could not be opened
            Object.h(126) Using default advice data
                            TestCase 1 (Test 1) succeeded.
            Catalog: RotateCenterTestCatalog
                    Function: fwiRotateCenter_8u_C1R

    Buffer mismatch at index: 0
    Actual: 3
    Expected: 4

                            TestCase 1 (Test 1) failed!

            Catalog: MulScaleTestCatalog
                    Function: fwiMulScale_8u_C1R

    Buffer mismatch at index: 1
    Actual: 1
    Expected: 2

                            TestCase 1 (Test 1) failed!
                    Function: fwiMulScale_8u_C3R

    Buffer mismatch at index: 1
    Actual: 1
    Expected: 2

                            TestCase 1 (Test 1) failed!
                    Function: fwiMulScale_8u_AC4R

    Buffer mismatch at index: 1
    Actual: 1
    Expected: 2

                            TestCase 1 (Test 1) failed!
                    Function: fwiMulScale_8u_C4R

    Buffer mismatch at index: 1
    Actual: 1
    Expected: 2

                            TestCase 1 (Test 1) failed!
                    Function: fwiMulScale_16u_C1R

    Buffer mismatch at index: 1
    Actual: 2
    Expected: 3
    ... lots more of these

           Catalog: SqrtTestCatalog
                    Function: fwiSqrt_16s_C1RSfs
                            TestCase 1 (Test 1) succeeded.
                            TestCase 2 (Test 1) succeeded.
    Status Error, Expected Status: 3, Returned Status: 0

                            TestCase 3 (Test 1) failed!
                    Function: fwiSqrt_16s_C3RSfs
                            TestCase 1 (Test 1) succeeded.
                            TestCase 2 (Test 1) succeeded.
    Status Error, Expected Status: 3, Returned Status: 0

                            TestCase 3 (Test 1) failed!
    ... lots more of these

            Catalog: LnTestCatalog
                    Function: fwiLn_32f_C1R
                            TestCase 1 (Test 1) succeeded.
    Status Error, Expected Status: 7, Returned Status: 0

                            TestCase 2 (Test 1) failed!
    Status Error, Expected Status: 8, Returned Status: 0

                            TestCase 3 (Test 1) failed!
                    Function: fwiLn_32f_C3R
                            TestCase 1 (Test 1) succeeded.
    Status Error, Expected Status: 7, Returned Status: 0

                            TestCase 2 (Test 1) failed!
    Status Error, Expected Status: 8, Returned Status: 0

                            TestCase 3 (Test 1) failed!

                    Function: fwiLn_32f_C1IR
                            TestCase 1 (Test 1) succeeded.
    Status Error, Expected Status: 7, Returned Status: 0

                            TestCase 2 (Test 1) failed!
    Status Error, Expected Status: 8, Returned Status: 0

                            TestCase 3 (Test 1) failed!
                    Function: fwiLn_32f_C3IR
                            TestCase 1 (Test 1) succeeded.
    Status Error, Expected Status: 7, Returned Status: 0

                            TestCase 2 (Test 1) failed!
    Status Error, Expected Status: 8, Returned Status: 0

                            TestCase 3 (Test 1) failed!
            Catalog: ExpTestCatalog
                    Function: fwiExp_8u_C1RSfs
                            TestCase 1 (Test 1) succeeded.

    Buffer mismatch at index: 5
    Actual: 1
    Expected: 0

                            TestCase 2 (Test 1) failed!
                    Function: fwiExp_8u_C3RSfs
                            TestCase 1 (Test 1) succeeded.

    Buffer mismatch at index: 5
    Actual: 1
    Expected: 0

                            TestCase 2 (Test 1) failed!

                    Function: fwiCopy_8u_C3MR

    Buffer mismatch at index: 99
    Actual: 0
    Expected: 1

                            TestCase 1 (Test 1) failed!

    Buffer mismatch at index: 96
    Actual: 5
    Expected: 0

                            TestCase 2 (Test 1) failed!