From 9eb95c3b64ccbad7bfde238385b0833a8d421e48 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 9 Jul 2012 22:30:26 +0530 Subject: [PATCH] ... --- 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 533e1bd1d1..484bfa32f4 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -94,6 +94,12 @@ def test_unrar(): raise RuntimeError('Failed to load libunrar') print ('Unrar OK!') +def test_icu(): + from calibre.utils.icu import _icu_not_ok + if _icu_not_ok: + raise RuntimeError('ICU module not loaded/valid') + print ('ICU OK!') + def test(): test_plugins() test_lxml() @@ -102,6 +108,7 @@ def test(): test_qt() test_imaging() test_unrar() + test_icu() if iswindows: test_win32() test_winutil()