From b0a62a34bd3f62a72902455eb45597ff21c6ff83 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 9 May 2014 10:54:17 +0530 Subject: [PATCH] Add build test for apsw --- src/calibre/test_build.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index fd9a36df61..adf6a728c6 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -69,6 +69,12 @@ def test_sqlite(): raise RuntimeError('Failed to load sqlite extension') print ('sqlite OK!') +def test_apsw(): + import apsw + conn = apsw.Connection(':memory:') + conn.close() + print ('apsw OK!') + def test_qt(): from PyQt4.Qt import (QDialog, QImageReader, QNetworkAccessManager) from PyQt4.QtWebKit import QWebView @@ -145,6 +151,7 @@ def test(): test_lxml() test_ssl() test_sqlite() + test_apsw() test_imaging() test_unrar() test_icu()