brummett / Devel-Chitin

Abstract base class for Perl debuggers
1 stars 4 forks source link

21-trace-statements and 21-trace-fib tests fail with 0.15 #47

Closed brummett closed 2 years ago

brummett commented 6 years ago

A couple of test runs for 0.15 failed similarly. For example: http://www.cpantesters.org/cpan/report/08088a6e-0b98-11e8-af2b-acaf1d79aee4

trace-statements:

#   Failed test 'next_statement for line 12'
#   at t/21-trace-fib.t line 63.
#          got: '@trace'
#     expected: '$answer = fib(3)'
# stopped at line 12 callsite 0x81378ec0
# 

#   Failed test 'next_statement for line 14'
#   at t/21-trace-fib.t line 63.
#          got: 'return(fib($n - 1) + fib($n - 2))'
#     expected: '$n = shift'
# stopped at line 14 callsite 0x813747ec

#   Failed test 'next_statement for line 12'
#   at t/21-trace-statements.t line 90.
#          got: '@trace'
#     expected: '$line = 12'
# stopped at line 12 callsite 0x81094080
# 

#   Failed test 'next_statement for line 15'
#   at t/21-trace-fib.t line 63.
#          got: 'return(fib($n - 1) + fib($n - 2))'
#     expected: 'return(1) if $n <= 1'
# stopped at line 15 callsite 0x81873868
# 
Can't call method "op" on an undefined value at lib/Devel/Chitin.pm line 405.

#   Failed test 'next_statement for line 1'
#   at /home/njh/perl5/perlbrew/perls/perl-5.18.2-thread-multi-ld/lib/site_perl/5.18.2/Test/Builder.pm line 152.
#          got: 'test2_set_is_end()'
#     expected: '$i = 0'
# stopped at line 1 callsite 0x81596e94
Can't locate object method "_build" via package "Devel::Chitin::OpTree::NULL" at lib/Devel/Chitin/OpTree.pm line 111.
END failed--call queue aborted at t/21-trace-statements.t line 405.
# Looks like your test exited with 22 just after 2.
    (in cleanup) Can't locate object method "_build" via package "Devel::Chitin::OpTree::NULL" at lib/Devel/Chitin/OpTree.pm line 111 during global destruction.
    (in cleanup) Can't locate object method "_build" via package "Devel::Chitin::OpTree::NULL" at lib/Devel/Chitin/OpTree.pm line 111 during global destruction.
Child test program exited with status 5632 at t/21-trace-statements.t line 7.
t/21-trace-statements.t ............ 
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 51/51 subtests 

and trace-fib

#   Failed test 'next_statement for line 14'
#   at t/21-trace-fib.t line 63.
#          got: 'return(fib($n - 1) + fib($n - 2))'
#     expected: '$n = shift'
# stopped at line 14 callsite 0x813747ec
# 

#   Failed test 'next_statement for line 15'
#   at t/21-trace-fib.t line 63.
#          got: 'return(fib($n - 1) + fib($n - 2))'
#     expected: 'return(1) if $n <= 1'
# stopped at line 15 callsite 0x81873868
# 

#   Failed test 'next_statement for line 14'
#   at t/21-trace-fib.t line 63.
#          got: 'return(fib($n - 1) + fib($n - 2))'
#     expected: '$n = shift'
# stopped at line 14 callsite 0x813747ec
# 

#   Failed test 'next_statement for line 15'
#   at t/21-trace-fib.t line 63.
#          got: 'return(fib($n - 1) + fib($n - 2))'
#     expected: 'return(1) if $n <= 1'
# stopped at line 15 callsite 0x81873868
# 

#   Failed test 'next_statement for line 14'
#   at t/21-trace-fib.t line 63.
#          got: 'return(fib($n - 1) + fib($n - 2))'
#     expected: '$n = shift'
# stopped at line 14 callsite 0x813747ec
# 

#   Failed test 'next_statement for line 15'
#   at t/21-trace-fib.t line 63.
#          got: 'return(fib($n - 1) + fib($n - 2))'
#     expected: 'return(1) if $n <= 1'
# stopped at line 15 callsite 0x81873868
# 

#   Failed test 'next_statement for line 14'
#   at t/21-trace-fib.t line 63.
#          got: 'return(fib($n - 1) + fib($n - 2))'
#     expected: '$n = shift'
# stopped at line 14 callsite 0x813747ec
# 

#   Failed test 'next_statement for line 15'
#   at t/21-trace-fib.t line 63.
#          got: 'return(fib($n - 1) + fib($n - 2))'
#     expected: 'return(1) if $n <= 1'
# stopped at line 15 callsite 0x81873868
# 
t/21-trace-fib.t ................... 
Failed 11/13 subtests 
brummett commented 2 years ago

This hasn't happened in the last 4 releases. Closing.