Subject: | Failing tests and undefined function |
Apparently, a new error was intruduced between 0.05 and 0.06, test output:
t/01-basic........ok 1/15Undefined subroutine &Text::Ngram::_process_buffer called at /home/marcus/.cpan/build/Text-Ngram-0.06/blib/lib/Text/Ngram.pm line 163.
# Looks like you planned 15 tests but only ran 1.
# Looks like your test died just after 1.
t/01-basic........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-15
Failed 14/15 tests, 6.67% okay
t/pod-coverage....skipped
all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
t/pod.............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/01-basic.t 255 65280 15 28 186.67% 2-15
1 test skipped.
Failed 1/3 test scripts, 66.67% okay. 14/16 subtests failed, 12.50% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
The same happens for a friend of mine while using the module. In 0.05 the methods do not have the leading underline _, for me in 0.05 _process_buffer is called process_buffer. Maybe a refactoring error?