[Koha-bugs] [Bug 19262] New: pod_spell.t does not work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 6 15:42:43 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19262

            Bug ID: 19262
           Summary: pod_spell.t does not work
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org

If you run `prove xt/author/pod_spell.t` without having Test::Spelling
installed, it will skip the tests.

If you install the lib-test-spelling-perl, the test will fail:
xt/author/pod_spell.t .. You said to run 0 tests at xt/author/pod_spell.t line
21.
xt/author/pod_spell.t .. Dubious, test returned 25 (wstat 6400, 0x1900)
No subtests run 

This is because the call to all_pod_files_spelling_ok is expecting a path

If we try to fix it with adding "." as parameter, the tests will raise tone of
errors:

#   Failed test 'POD spelling for ./acqui/invoice.pl'
#   at xt/author/pod_spell.t line 21.
# Errors:
#     pl

#   Failed test 'POD spelling for ./acqui/neworderempty.pl'
#   at xt/author/pod_spell.t line 21.
# Errors:
#     CGI
#     MARCfindbreeding
#     basketno
#     biblio
#     booksellerid
#     breedingid
#     neworderempty
#     ordernumber
#     pl
#     suggestionid

#   Failed test 'POD spelling for ./acqui/addorder.pl'
#   at xt/author/pod_spell.t line 21.
# Errors:
#     CGI
#     ISBN
#     addorder
#     biblio
#     cgi
#     copyrightdate
#     neworderbiblio
#     neworderempty
#     newordersuggestion
#     pl


And much more...

Let's remove this file

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list