Почему panda не устанавливает мой модуль, если все тесты проходят локально?

Я являюсь автором модуля Perl 6, который анализирует модуль Perl 5, Pod-Perl5. До выпуска Perl 6.c этот модуль нормально устанавливался с panda install Pod::Perl5. Теперь он не работает с обширным списком ошибок (отрывок ниже, полный вывод находится здесь). Все тесты проходят при запуске набора тестов с: prove --exec perl6 -r

Я спросил на IRC #perl6 канале и попробовал тактику «уничтожить все, переустановить». Это не сработало. Кто-нибудь еще может помочь?

$ panda install Pod::Perl5
==> Fetching Pod::Perl5
==> Building Pod::Perl5
==> Testing Pod::Perl5

# Failed test 'found 8 paragraphs'
# at t/Grammar/01_formatting.t line 11
# expected: '8'
#      got: '1'
Use of uninitialized value $v of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in block <unit> at t/Grammar/01_formatting.t line 13

# Failed test 'match format text'
# at t/Grammar/01_formatting.t line 13
# expected: 'this text is an example of inline italicised/emphasised'
#      got: ''
Use of uninitialized value $v of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in block <unit> at t/Grammar/01_formatting.t line 17

# Failed test 'matches format text'
# at t/Grammar/01_formatting.t line 17
# expected: 'this text is italicised/emphasised 
# across 
# newlines'
#      got: ''
Use of uninitialized value $v of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in block <unit> at t/Grammar/01_formatting.t line 21

# Failed test 'matches format text'
# at t/Grammar/01_formatting.t line 21
# expected: 'italicised words'
#      got: ''
Use of uninitialized value $v of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in block <unit> at t/Grammar/01_formatting.t line 25

# Failed test 'matches format text'
# at t/Grammar/01_formatting.t line 25
# expected: 'italicised
# words'
#      got: ''
Use of uninitialized value $v of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in block <unit> at t/Grammar/01_formatting.t line 29

# Failed test 'matches format text'
# at t/Grammar/01_formatting.t line 29
# expected: 'bolded B<words> within italics!'
#      got: ''
Use of uninitialized value $v of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in block <unit> at t/Grammar/01_formatting.t line 33

...

person David Farrell    schedule 06.02.2016    source источник


Ответы (2)


Панда призывает доказать следующее:

$prove-command, '-e', "$*EXECUTABLE $libs -Ilib", "--norc", '-r', 't/'

переведено на bash, это будет:

prove -e "perl6 -Ilib" --norc -r t/

что дает точно такой же результат, как и вы.

Пожалуйста, отправьте отчет об ошибке на https://github.com/tadzik/panda/issues с информацией предоставлено выше.

person Community    schedule 07.02.2016
comment
Большое спасибо, это было полезно. Я думаю, проблема может заключаться в непоследовательном обращении perl6 с -Ilib. Подняли билет rt.perl.org/Ticket/Display.html?id= 127483 - person David Farrell; 07.02.2016

изменение use lib 'lib'; на use lib '../lib'; для тестов в подкаталогах помогает. Я не совсем уверен, должно ли это быть.

person Community    schedule 07.02.2016