From d37b124fb55d1551b2c288263957d8f8e223847b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 8 Aug 2015 08:32:32 +0530 Subject: [PATCH] Add a build test for the lzma module --- src/calibre/test_build.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index 5a4f7fa926..9c68a91f41 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -49,6 +49,11 @@ def test_regex(): raise ValueError('regex module failed on a simple search') print ('regex OK!') +def test_lzma(): + from lzma.xz import test_lzma2 + test_lzma2() + print ('lzma OK!') + def test_html5lib(): import html5lib.html5parser # noqa from html5lib import parse # noqa @@ -232,6 +237,7 @@ def test(): if iswindows: test_dlls() test_plugins() + test_lzma() test_dukpy() test_spell() test_lxml()