interchange / interchange6-schema

DBIC schema for Interchange 6
8 stars 7 forks source link

test_sqlite.t fails with -Duselongdouble #196

Closed eserte closed 8 years ago

eserte commented 8 years ago

If perl was compiled with -Duselongdouble, then the test suite fails:

    # using: DBD::SQLite 1.46
    # db: SQLite library version: 3.8.7.2

        #   Failed test 'selling_price with arg from prefetched product with_lowest_selling_price'
        #   at t/lib/Test/PriceModifier.pm line 360.
        #          got: 14.9900000000000002
        #     expected: 14.99
        # Looks like you failed 1 test of 84.

    #   Failed test 'pricing tests'
    #   at /home/cpansand/.cpan/build/2016022721/Test-Roo-1.004-hmiOKT/blib/lib/Test/Roo.pm line 39.
    # Looks like you failed 1 test of 40.

#   Failed test 'testing with main'
#   at /home/cpansand/.cpan/build/2016022721/Test-Roo-1.004-hmiOKT/blib/lib/Test/Roo/Class.pm line 89.
# Looks like you failed 1 test of 1.
t/test_sqlite.t ............. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

Statistical analysis: http://analysis.cpantesters.org/solved?distv=Interchange6-Schema-0.100

SysPete commented 8 years ago

Same issue as #195 so closing this issue.

@eserte thanks for ticket and statistical analysis.