Still there are problems with 1.0.1, see
http://fast-matrix.cpantesters.org/?dist=Text-AutoCSV%201.0.1 (current results, no links to individual test reports)
http://matrix.cpantesters.org/?dist=Text-AutoCSV%201.0.1 (updates here slower, but links to individual reports exist)
The easy one:
- It seems you're using // which is not available for 5.8.9 and older. So either rewrite this construct, or increase the minimum perl version
The DateTime::Format::Epoch::JD failures are indeed gone. Still with 1.0.1 I saw at least one report with a segfault, but there are many green reports from FreeBSD systems, so maybe it's just a specific version of a prerequisite module (Encode? File::BOM?). There are no pass reports for perl <= 5.14.3.
For the other fails --- maybe
http://analysis.cpantesters.org/solved?distv=Text-AutoCSV-1.0.1 will give some clues if the other problems are fixed (analysis does not work well if there are too many fail reasons involved).
Regards,
Slaven
On 2016-09-16 03:05:24, MILLETSEB wrote:
Show quoted text> Hello
>
> Thanks for this feedback.
>
> I just uploaded 1.0.1 which I hope resolves most of the below. To be
> more precise:
>
> - t/10-prepost.t fails: now checks for DateTime::Format::Epoch::JD
> availability & skips if not available
>
> - t/04-esc.t sometimes fails: changed the code logic, hope it'll be
> better
>
> - t/06-exdoc.t: not very clear to me where it comes from, it could be
> that long ago DateTime did not provide epoch() and from_epoch()
> methods. Just in case, I added checks of these methods availability
> and skip corresponding tests if check fails. Also changed error
> printed if something goes wrong (error message was broken any way).
>
> - Module load fails on old perls: the error looks like parsing of a
> regex occured inside a comment, so I changed it. I'd be surprised no
> other issue comes up on old perls, I may add a minimum version of perl
> going forward. Hint would be welcome here, I've no idea what makes
> sense or not in this area, and saying my own version is the minimum
> may be brutal?
>
> - t/03-enc.t may segfault: not sure of root cause of this one. This
> test ensures UTF8 files with a BOM (Byte-Order-Mark) are well
> processed, and I've had some issues with File::BOM stability in the
> past (for ex. it doesn't work with file handles open on a variable +
> different behaviors between Windows and Linux).
> A quick-and-dirty workaround would be to bypass test on freebsd.
>
> Le Jeu 15 Sep 2016 01:17:48, SREZIC a écrit :
> > The test suite fails on some of my smokers. I see the following
> > problems:
> >
> > - t/10-prepost.t fails if DateTime::Format::Epoch::JD is not
> > installed
> > (a missing dependency declaration or a missing skip?)
> >
> > - t/04-esc.t sometimes shows the following failure (reason unclear):
> >
> > # Failed test 'ES07 - t/esc02.csv: quote escape, implicit'
> > # at t/04-esc.t line 92.
> > # got: '\'
> > # expected: '"'
> >
> > # Failed test 'ES08 - t/esc02.csv: quote escape, implicit (2)'
> > # at t/04-esc.t line 94.
> > # Structures begin differing at:
> > # $got->[1]{A} = 'Val "" ya "" line 2'
> > # $expected->[1]{A} = 'Val " ya " line 2'
> >
> > # Failed test 'WR02 - out_escape_char => '"''
> > # at t/04-esc.t line 120.
> > # got: '\'
> > # expected: '"'
> >
> > # Failed test 'WR03 - reuse input escape character (quote) in
> > output'
> > # at t/04-esc.t line 125.
> > # got: '\'
> > # expected: '"'
> > # Looks like you failed 4 tests of 29.
> > t/04-esc.t ......
> >
> > - t/06-exdoc.t fails sometimes like this:
> > Text::AutoCSV: error: t/ex1.csv: record ATIME: field ?: unable to
> > parse datetime 'ATIME' at t/06-exdoc.t line 219.
> > # Looks like you planned 13 tests but ran 11.
> > # Looks like your test exited with 25 just after 11.
> > t/06-exdoc.t ....
> > Dubious, test returned 25 (wstat 6400, 0x1900)
> > Failed 2/13 subtests
> >
> > - or like this:
> > Can't call method "isa" without a package or object reference at
> > /usr/home/eserte/.cpan/build/2016091421/Text-AutoCSV-1.0-
> > s7nEv_/blib/lib/Text/AutoCSV.pm line 2083, <_GEN_51> line 5.
> > # Looks like your test exited with 25 just after 11.
> > t/06-exdoc.t ....
> >
> >
> > - with older perls (5.8.x) compilation fails:
> >
> > # Failed test 'use Text::AutoCSV;'
> > # at t/01-gen.t line 28.
> > # Tried to use 'Text::AutoCSV'.
> > # Error: Unmatched ( in regex; marked by <-- HERE in m/%y'
> > # # then if parsing 4-digit-year dates ( <-- HERE like '31/ at
> > /home/eserte/.cpan/build/2016091421/Text-AutoCSV-1.0-
> > 1/blib/lib/Text/AutoCSV.pm line 1318, <DATA> line 1.
> > # Compilation failed in require at t/01-gen.t line 28, <DATA> line 1.
> > # BEGIN failed--compilation aborted at t/01-gen.t line 28, <DATA>
> > line
> > 1.
> >
> > - t/03-enc.t may segfault (maybe only on freebsd systems)