libdbi-drivers build should run tests

Bug #614496 reported by Clint Byrum
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libdbi-drivers (Debian)
Fix Released
libdbi-drivers (Ubuntu)
Fix Released

Bug Description

libdbi-drivers includes a tests sub directory with a comprehensive test for each driver.

It should run these tests wherever possible

sqlite and sqlite3 are easy

pgsql and mysql are doable with some effort (spawning an isolated temporary mysqld/pgsqld and connecting to it is non-trivial)

freetds would be impossible to test without a MS SQL or Sybase server to connect to.

Related branches

Changed in libdbi-drivers (Ubuntu):
importance: Undecided → Wishlist
Changed in libdbi-drivers (Ubuntu):
status: New → In Progress
assignee: nobody → Clint Byrum (clint-fewbar)
Changed in libdbi-drivers (Ubuntu):
status: In Progress → Confirmed
assignee: Clint Byrum (clint-fewbar) → nobody
Revision history for this message
Stefano Rivera (stefanor) wrote :

No need to subscribe sponsors when you have a linked branch with "Needs Review", unsubscribing.

Changed in libdbi-drivers (Debian):
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libdbi-drivers - 0.8.3-1+s-2.1ubuntu1

libdbi-drivers (0.8.3-1+s-2.1ubuntu1) precise; urgency=low

  * Merge from Debian unstable.
    - Upstream test suite now being run at build time. LP: #614496.
  * Remaining changes:
    - debian/control, debian/rules: drop libdbi-sqlite.
    - debian/buildtests -- test suite to verify drivers are usable when
      libdbi is loaded via dlopen()
    - debian/copyright -- adding copyright attribution for buildtests dir
    - Search sqlite headers and libs in multiarch locations.
  * Dropped changes, included in Debian:
    - --enable-dbi makes libdbi unloadable by dlopen() methods.
    - Removed explicit dependency on libdbi0
    - Build-Depends on libdbi-dev (>= 0.8.4-5).
  * Add support for DEB_BUILD_OPTIONS=nocheck.

libdbi-drivers (0.8.3-1+s-2.1) unstable; urgency=low

  * Non-maintainer upload.
  * A bug in the configure script causes --enable-libdbi to actually *disable*
    linking drivers with the library. However, since linking is now the
    default, this option is not needed anymore. Remove it from debian/rules
    (closes: #634619, #324937).

libdbi-drivers (0.8.3-1+s-2) unstable; urgency=low

  * Removed explicit dependency on libdbi0 (gosh, I don't get even how it could
  be there, since it should be computed by shlibs...).
  * Build-Depends on libdbi-dev (>= 0.8.4-5).

libdbi-drivers (0.8.3-1+s-1) unstable; urgency=low

  * New upstream version.
  * Now using my maintainer email.
  * Now calling ./ and depending on libtool and automake.
  * Standards-Version: is now 3.9.1.
  * Now depends on debhelper 7.
  * Added Vcs-Browser: URL where I'll keep the Debian package source.
  * Added debian/source/format file (still using the new 1.0 format as
    otherwise the clean target is a lot of head akes).
  * Using dh_prep instead of dh_clean -k
  * Removed the duplicate section fields.
  * Now Build-Depends: on libdbi0-dev (>= 0.8.3)
  * Added missing ${misc:Depends}.
  * Added the use of the internal libdbi-drivers tests when building, which
    means that we also Build-Depends on: mysql-server, mysql-client,
    postgresql, postgresql-client, locales-all | language-pack-en
  * Added a dpatch that removes the ISO8859-1 tests with postgress, so that the
    rest of the PGSQL tests continues to work.
 -- Steve Langasek <email address hidden> Sat, 29 Oct 2011 05:54:40 +0000

Changed in libdbi-drivers (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.