akarelas / Data-WeakMap-perl

Iterable WeakMaps for Perl, without memory leaks
Other
1 stars 0 forks source link

t/00_weakmaps.t fails #1

Open eserte opened 4 weeks ago

eserte commented 4 weeks ago

I have three configurations with a failing test suite:

    #   Failed test '2 keys (out of 2) in the underlying object have been unweakened'
    #   at t/00_weakmaps.t line 218.
    # Looks like you failed 1 test of 12.

#   Failed test 'store & retrieve key/value pair'
#   at t/00_weakmaps.t line 49.

    #   Failed test '1 keys (out of 1) in the underlying object have been unweakened'
    #   at t/00_weakmaps.t line 218.
    # Looks like you failed 1 test of 12.

#   Failed test 'key/value pairs get deleted when key falls out of scope'
#   at t/00_weakmaps.t line 75.

    #   Failed test '3 keys (out of 3) in the underlying object have been unweakened'
    #   at t/00_weakmaps.t line 218.

    #   Failed test 'map has lost its keys'
    #   at t/00_weakmaps.t line 96.
    #          got: '3'
    #     expected: '0'
    # Looks like you failed 2 tests of 9.

#   Failed test 'full iteration (e.g. "keys %$map", "values %$map", "%$map") attempt'
#   at t/00_weakmaps.t line 99.

    #   Failed test '2 keys (out of 2) in the underlying object have been unweakened'
    #   at t/00_weakmaps.t line 218.
    # Looks like you failed 1 test of 9.

#   Failed test 'delete keys'
#   at t/00_weakmaps.t line 120.

    #   Failed test '100 keys (out of 100) in the underlying object have been unweakened'
    #   at t/00_weakmaps.t line 218.

    #   Failed test '100 keys (out of 100) in the underlying object have been unweakened'
    #   at t/00_weakmaps.t line 218.
    # Looks like you failed 2 tests of 9.

#   Failed test 'exists'
#   at t/00_weakmaps.t line 140.
# Looks like you failed 5 tests of 9.
t/00_weakmaps.t .. 
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/9 subtests 

All these configurations are running perl 5.40.0, however, I have also pass reports with perl 5.40.0.

andk commented 3 weeks ago

Statistical analysis on my smoker results tells this:

****************************************************************
Regression 'mod:Scalar::Util'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0382      26.15
[1='eq_1.64']        -0.5000          0.1209      -4.14
[2='eq_1.65']        -1.0000          0.1209      -8.27

R^2= 0.807, N= 22, K= 3
****************************************************************

which can be read as all my results with Scalar::Util 1.63 were PASS, all my results with Scalar::Util 1.65 were FAIL and the results with Scalar::Util 1.64 were mixed.