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)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Wed, 1 Apr 2015 18:04:54 +0000 (19:04 +0100)
commita1f6fcc3509472d021f57e76fe2f5c3df56217dd
tree7a1f18a680f957f2cc4c89ea9e6e037e75a76c36
parentd50f2fe1a98926f0e9bd8a1f48eb2fd6acd1348a
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