Tyler MacDonald <[EMAIL PROTECTED]> wrote:
> > If you really want, make the SQLite tests optional if some environment
> > variable is set (eg, SKIP_SQLLITE_TEST).
> 
>       OK, I like the environment variable thing. That gives me the
> opportunity to warn a user installing manually via CPAN that they don't have
> to install SQLite2 if they don't want.
> 
>       I'm going to chew on this for awhile (and get away from the keyboard
> before my 5 mo. old daughter chews off my arm :)

        I've had some time to digest this, and it seems that rather than
coining an entirely new environment variable, I could use DBI_DSN:

        - If DBI_DSN is set, use that as the DSN for testing, and don't
depend on SQLite.

        - If DBI_DSN is set to an empty string, don't do any testing, and
don't depend on SQLite.

        - If DBI_DSN is not set, default to depending on, and testing
against, SQLite.

        Cheers,
                Tyler


Reply via email to