in reply to DBI revived

Hi Tux. Regarding your request in CB for testing on Cygwin, I would be happy to do tests with Cygwin. Did you have specific tests in mind or just want to know if 1.644 works?

Replies are listed 'Best First'.
Re^2: DBI revived
by Tux (Canon) on Aug 26, 2024 at 15:17 UTC

    Thanks for stepping up: Ideally I'd like someone to test DBI from git checkouts with as many supported DBDs as possible.

    Any subset of that is valuable.

    I was able to get Cygwin up and running on a Windows system I had access to, but I was not able to reproduce the failures reported on here for Cygwin. (Yes, Ik know, those are fails on Text::CSV_XS, but that is what is used for DBD::CSV, so related)


    Enjoy, Have FUN! H.Merijn
      binmode() on closed filehandle $fh at t/85_util.t line 286. print() on closed filehandle $fh at t/85_util.t line 288. print() on closed filehandle $fh at t/85_util.t line 289. binmode() on closed filehandle $fh at t/85_util.t line 306.

      I would assume that for some dark reason, the open my $fh, ">", $fnm; in line 285 fails. Most likely, because the file is still opened by another process, be it either a parallel test run or a virus scanner or something like that.

      To test this theory, consider adding a ... or die "Couldn't overwrite '$fnm': $!/$^E";. If that really turns out to be the case, doing a loop for (say) 10 times to try to create the file might be a workaround, or generating a filename using File::Templ instead of using the hardcoded filename.

      Text::CSV_XS from github passed all tests on my cygwin. The main cygwin distribution recently updated to Perl 5.40.0 and DBI 1.644. The DBI 1.644 from github also passed all tests on my machine, but a number of them were skipped.

      For testing DBDs is the idea to go down the list and run 'make test' on each one?

        For all that you are able to use. Yes please. Much appreciated feedback!


        Enjoy, Have FUN! H.Merijn
      It seems all those fails are on x86_64-cygwin-thread-multi-quadmath except that the Perl 5.41.1 also has one on x86_64-cygwin-thread-multi-ld. I'm on x86_64-cygwin-threads-multi, but I'll test it anyway.