Work around Firebird/InterBase/ODBC crash in tests
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Wed, 1 Apr 2015 17:52:22 +0000 (18:52 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 12 Aug 2015 03:23:14 +0000 (05:23 +0200)
commitdabde0bc5a737cedb57b2b4d74a73694044354e8
treed7ebeb03fee24f9fbbf36f611ce412e7f197d8e4
parentd437f664a6928c3fa75abbc3b173b19582948886
Work around Firebird/InterBase/ODBC crash in tests

If DBD::Firebird and DBD::InterBase are used in the same process, the
last one loaded leaves an active statement handle around and later
segfaults at some point in the tests.  Also, if DBD::ODBC is used
before either of them, they leak the handle but don't segfault.

Thus, to avoid breaking installing DBIC if more than one of
DBICTEST_FIREBIRD(_INTERBASE|ODBC)?_DSN is set, skip Interbase if any
of the others are set, and make sure to run the ODBC test last.

However, keep the leak-triggering order for author, CI and smoker
runs, so we don't forget that it needs fixing.
t/750firebird.t