(I would like to discuss this issue here before updating the bug on rt.cpan.org)

'make test' fails when DBI_DSN is not DBD::SQLite:

  1. Does it make sense to honor DBI_DSN during make test?
  2. Does it make sense to honor DBI_DSN during make test if it doesn't match /^DBI:SQLite/.
I have my DBI_DSN often set to DBI:DB2:instance_name, which means 'make test' will fail if it is honored. I don't know if DBI_DSN is commonly used.

In case 1. a fix would be simply

$ diff t/lib.pl.cp t/lib.pl 36,37c36 < $test_dsn = $ENV{'DBI_DSN'} < || "DBI:$dbdriver:dbname=$table_dir"; --- > $test_dsn = "DBI:$dbdriver:dbname=$table_dir";
In case 2. a fix could be
$ diff t/lib.pl.cp t/lib.pl 36c36 < $test_dsn = $ENV{'DBI_DSN'} --- > $test_dsn = $ENV{'DBI_DSN'} && $ENV{'DBI_DSN'} =~ m/^DBI:$mdriv +er/
--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]

In reply to Re: Working on a new DBD::SQLite release by andreas1234567
in thread Working on a new DBD::SQLite release by Corion

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.