[CPAN] Mock-Quick 1.111 fails t/Util.t and t/object_control.t
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 54/100
Direção de pesquisa
Start by reproducing the failures in t/Util.t and t/object_control.t on both PerlOnJava backends, then compare their behavior with the system Perl 5.42.2 results described in the issue. Trace the JVM qw parse failure, the interpreter exportability check, and the JVM object-control failure to their separate causes. Done means the upstream tests pass on both backends with the expected Perl behavior.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
Mock-Quick 1.111 fails its upstream test suite on PerlOnJava, although the archived system Perl oracle passes all tests. The focused failures differ by backend: the JVM backend cannot compile t/Util.t and fails t/object_control.t; the interpreter executes t/Util.t but fails an exportability check, while t/object_control.t passes.
This is based on CPAN random tester run 20261109-091152-39587 and a focused reproduction on PerlOnJava commit 7925f28d1 (fix/anchored-regex-and-scalar-concat). The distribution and its prerequisites are pure Perl; no native-code or external service prerequisite was involved.
Evidence
- System Perl oracle: Mock-Quick 1.111 passed all 10 test programs and 174 tests. The archived oracle used Homebrew Perl 5.42.2 on macOS 26.7.1, with Temurin OpenJDK 24.0.2 available in the environment.
- JVM backend:
t/Util.texits during parsing at line 12 withNot implemented: LexerToken{type=IDENTIFIER, text='qw'}, nearqw/Mock.t/object_control.tfails itsbasictest group at line 34 withCan't locate object method "call" in this instance. - Interpreter backend:
t/Util.truns but failsmain->can(...)(test 3);t/object_control.tpasses all 13 tests. - Archived CPAN result: the target record is
FAIL, 143/144 subtests passed, with 2/10 test programs failing. Missing prerequisites were installed during the run: Exporter::Declare 0.114, Fennec::Lite 0.004, Meta::Builder 0.004, and aliased 0.34. The standalone system Perl oracle later completed all target and prerequisite suites successfully.
Reproduction
Install Mock-Quick 1.111 and its declared prerequisites, then run its upstream test suite with each backend. The two stable failing files are t/Util.t and t/object_control.t; the interpreter/JVM outcomes are listed above. The complete upstream suite passes under system Perl 5.42.2.
Expected behavior
Mock-Quick's upstream tests should pass on both PerlOnJava backends, matching standard Perl for these valid import, qw//, and object-control behaviors.
Please investigate the parser failure, the interpreter exportability mismatch, and the JVM object-control failure. These may have separate causes; split into focused issues if they do.
- Linguagem predominante
- Perl
- Estrelas
- 67
- Forks
- 8
- Merge médio
- 6h 14min
- PRs com merge (30d)
- 143
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de fglock/PerlOnJava
-
area:io area:warnings bug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
fglock/PerlOnJava#2024 ·
Mantenedores costumam responder em até 1 dia
-
area:runtime documentation enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
fglock/PerlOnJava#1579 ·
Mantenedores costumam responder em até 1 dia
-
area:parser bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 56/100
fglock/PerlOnJava#2027 ·
Mantenedores costumam responder em até 1 dia
-
area:backend area:io area:runtime bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
fglock/PerlOnJava#2023 ·
Mantenedores costumam responder em até 1 dia
-
area:runtime bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 52/100
fglock/PerlOnJava#2022 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de fglock/PerlOnJava
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 94/100
VEuPathDB/ApiCommonModel#260 ·
Mantenedores costumam responder em até 1 dia
-
radius: unknown MFA in a source action crashes the RADIUS requestTalvez já em andamento @jrouzierinverse assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
inverse-inc/packetfence#9665 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
ibmdb/perl_DBD-DB2#21 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
-
`config --theme` can't find theme files when the `~/Documents/Themes` directory is a symbolic linkAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia