mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add build test for apsw
This commit is contained in:
parent
dd50cf3b71
commit
b0a62a34bd
@ -69,6 +69,12 @@ def test_sqlite():
|
|||||||
raise RuntimeError('Failed to load sqlite extension')
|
raise RuntimeError('Failed to load sqlite extension')
|
||||||
print ('sqlite OK!')
|
print ('sqlite OK!')
|
||||||
|
|
||||||
|
def test_apsw():
|
||||||
|
import apsw
|
||||||
|
conn = apsw.Connection(':memory:')
|
||||||
|
conn.close()
|
||||||
|
print ('apsw OK!')
|
||||||
|
|
||||||
def test_qt():
|
def test_qt():
|
||||||
from PyQt4.Qt import (QDialog, QImageReader, QNetworkAccessManager)
|
from PyQt4.Qt import (QDialog, QImageReader, QNetworkAccessManager)
|
||||||
from PyQt4.QtWebKit import QWebView
|
from PyQt4.QtWebKit import QWebView
|
||||||
@ -145,6 +151,7 @@ def test():
|
|||||||
test_lxml()
|
test_lxml()
|
||||||
test_ssl()
|
test_ssl()
|
||||||
test_sqlite()
|
test_sqlite()
|
||||||
|
test_apsw()
|
||||||
test_imaging()
|
test_imaging()
|
||||||
test_unrar()
|
test_unrar()
|
||||||
test_icu()
|
test_icu()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user