[CPAN] Mock-Quick 1.111 fails t/Util.t and t/object_control.t
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 54/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Perl
- Stelle
- 67
- Fork
- 8
- Merge medio
- 6h 14m
- PR unite (30g)
- 143
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di fglock/PerlOnJava
-
area:io area:warnings bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
fglock/PerlOnJava#2024 ·
I maintainer di solito rispondono entro 1 giorno
-
area:runtime documentation enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
fglock/PerlOnJava#1579 ·
I maintainer di solito rispondono entro 1 giorno
-
area:parser bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
fglock/PerlOnJava#2027 ·
I maintainer di solito rispondono entro 1 giorno
-
area:backend area:io area:runtime bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
fglock/PerlOnJava#2023 ·
I maintainer di solito rispondono entro 1 giorno
-
area:runtime bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
fglock/PerlOnJava#2022 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di fglock/PerlOnJava
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
VEuPathDB/ApiCommonModel#260 ·
I maintainer di solito rispondono entro 1 giorno
-
radius: unknown MFA in a source action crashes the RADIUS requestForse già presa @jrouzierinverse l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
inverse-inc/packetfence#9665 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
ibmdb/perl_DBD-DB2#21 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
`config --theme` can't find theme files when the `~/Documents/Themes` directory is a symbolic linkAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno