* tests/unit_test/cond_tests_tesseract_tiff:
Add scribo/toolchain/text_in_doc.hh.
* tests/unit_test/unit-tests.mk: Regen.
---
scribo/ChangeLog | 8 ++++++++
scribo/tests/unit_test/cond_tests_tesseract_tiff | 1 +
scribo/tests/unit_test/unit-tests.mk | 8 +++++---
3 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index c4692cb..104f9c6 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,3 +1,11 @@
+2010-10-22 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Require Tesseract for scribo/toolchain/text_in_doc.hh's unit test.
+
+ * tests/unit_test/cond_tests_tesseract_tiff:
+ Add scribo/toolchain/text_in_doc.hh.
+ * tests/unit_test/unit-tests.mk: Regen.
+
2010-10-20 Roland Levillain <roland(a)lrde.epita.fr>
Fix `link' name lookup in Scribo.
diff --git a/scribo/tests/unit_test/cond_tests_tesseract_tiff
b/scribo/tests/unit_test/cond_tests_tesseract_tiff
index bce37c9..5424dbd 100644
--- a/scribo/tests/unit_test/cond_tests_tesseract_tiff
+++ b/scribo/tests/unit_test/cond_tests_tesseract_tiff
@@ -1 +1,2 @@
scribo/text/recognition.hh
+scribo/toolchain/text_in_doc.hh
diff --git a/scribo/tests/unit_test/unit-tests.mk b/scribo/tests/unit_test/unit-tests.mk
index ec63a26..57c3c38 100644
--- a/scribo/tests/unit_test/unit-tests.mk
+++ b/scribo/tests/unit_test/unit-tests.mk
@@ -30,11 +30,15 @@ endif HAVE_QT
if HAVE_TESSERACT
if HAVE_TIFF
check_PROGRAMS += \
-scribo_text_recognition
+scribo_text_recognition \
+scribo_toolchain_text_in_doc
scribo_text_recognition_CPPFLAGS= ${TIFF_CPPFLAGS} ${TESSERACT_CPPFLAGS}
${AM_CPPFLAGS}
scribo_text_recognition_LDFLAGS= ${TIFF_LDFLAGS} ${TESSERACT_LDFLAGS} ${AM_LDFLAGS}
scribo_text_recognition_SOURCES = scribo_text_recognition.cc
+scribo_toolchain_text_in_doc_CPPFLAGS= ${TIFF_CPPFLAGS} ${TESSERACT_CPPFLAGS}
${AM_CPPFLAGS}
+scribo_toolchain_text_in_doc_LDFLAGS= ${TIFF_LDFLAGS} ${TESSERACT_LDFLAGS}
${AM_LDFLAGS}
+scribo_toolchain_text_in_doc_SOURCES = scribo_toolchain_text_in_doc.cc
endif HAVE_TIFF
endif HAVE_TESSERACT
@@ -227,7 +231,6 @@ scribo_text_clean_inplace \
scribo_text_extract_lines \
scribo_text_look_like_text_lines \
scribo_text_merging \
-scribo_toolchain_text_in_doc \
scribo_upsampling_bs2x \
scribo_upsampling_eagle
@@ -418,7 +421,6 @@ scribo_text_clean_inplace_SOURCES = scribo_text_clean_inplace.cc
scribo_text_extract_lines_SOURCES = scribo_text_extract_lines.cc
scribo_text_look_like_text_lines_SOURCES = scribo_text_look_like_text_lines.cc
scribo_text_merging_SOURCES = scribo_text_merging.cc
-scribo_toolchain_text_in_doc_SOURCES = scribo_toolchain_text_in_doc.cc
scribo_upsampling_bs2x_SOURCES = scribo_upsampling_bs2x.cc
scribo_upsampling_eagle_SOURCES = scribo_upsampling_eagle.cc
--
1.5.6.5
Show replies by date