mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
631882a346
clang warnings: src/ccutil/unicharcompress.cpp:172:27: warning: comparison of integers of different signs: 'int' and 'std::__cxx1998::vector::size_type' (aka 'unsigned long') [-Wsign-compare] src/lstm/recodebeam.cpp:129:29: warning: comparison of integers of different signs: 'std::__cxx1998::vector::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] src/lstm/recodebeam.cpp:276:48: warning: comparison of integers of different signs: 'std::__cxx1998::vector::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] unittest/imagedata_test.cc:101:21: warning: comparison of integers of different signs: 'int' and 'std::__cxx1998::vector::size_type' (aka 'unsigned long') [-Wsign-compare] unittest/linlsq_test.cc:33:23: warning: comparison of integers of different signs: 'int' and 'std::__cxx1998::vector::size_type' (aka 'unsigned long') [-Wsign-compare] unittest/linlsq_test.cc:44:23: warning: comparison of integers of different signs: 'int' and 'std::__cxx1998::vector::size_type' (aka 'unsigned long') [-Wsign-compare] unittest/nthitem_test.cc:27:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] unittest/nthitem_test.cc:68:21: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] unittest/stats_test.cc:26:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] Signed-off-by: Stefan Weil <sw@weilnetz.de> |
||
---|---|---|
.. | ||
apiexample_test.cc | ||
applybox_test.cc | ||
baseapi_test.cc | ||
baseapi_thread_test.cc | ||
bitvector_test.cc | ||
cleanapi_test.cc | ||
colpartition_test.cc | ||
commandlineflags_test.cc | ||
cycletimer.h | ||
dawg_test.cc | ||
denorm_test.cc | ||
equationdetect_test.cc | ||
fileio_test.cc | ||
heap_test.cc | ||
imagedata_test.cc | ||
include_gunit.h | ||
indexmapbidi_test.cc | ||
intfeaturemap_test.cc | ||
intsimdmatrix_test.cc | ||
lang_model_test.cc | ||
layout_test.cc | ||
ligature_table_test.cc | ||
linlsq_test.cc | ||
loadlang_test.cc | ||
log.h | ||
lstm_recode_test.cc | ||
lstm_squashed_test.cc | ||
lstm_test.cc | ||
lstm_test.h | ||
lstmtrainer_test.cc | ||
Makefile.am | ||
mastertrainer_test.cc | ||
matrix_test.cc | ||
networkio_test.cc | ||
normstrngs_test.cc | ||
normstrngs_test.h | ||
nthitem_test.cc | ||
osd_test.cc | ||
pagesegmode_test.cc | ||
pango_font_info_test.cc | ||
paragraphs_test.cc | ||
params_model_test.cc | ||
progress_test.cc | ||
qrsequence_test.cc | ||
README.md | ||
recodebeam_test.cc | ||
rect_test.cc | ||
resultiterator_test.cc | ||
scanutils_test.cc | ||
shapetable_test.cc | ||
stats_test.cc | ||
stridemap_test.cc | ||
stringrenderer_test.cc | ||
tablefind_test.cc | ||
tablerecog_test.cc | ||
tabvector_test.cc | ||
tatweel_test.cc | ||
textlineprojection_test.cc | ||
tfile_test.cc | ||
unichar_test.cc | ||
unicharcompress_test.cc | ||
unicharset_test.cc | ||
validate_grapheme_test.cc | ||
validate_indic_test.cc | ||
validate_khmer_test.cc | ||
validate_myanmar_test.cc | ||
validator_test.cc |
Unit Testing for Tesseract
To run the tests, do the following in tesseract folder
autoreconf -fiv
git submodule update --init
export TESSDATA_PREFIX=/prefix/to/path/to/tessdata
make check