Skip to content

Commit f4ec5be

Browse files
committed
Remove dummy test
This reverts commit 99755b0. The dummy test is no longer needed as there exist a lot of real tests now. Signed-off-by: Stefan Weil <[email protected]>
1 parent 7e27f78 commit f4ec5be

File tree

4 files changed

+1
-35
lines changed

4 files changed

+1
-35
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ kernel*.bin
101101
/unittest/*_test
102102
/unittest/primesbitvector
103103
/unittest/primesmap
104-
/unittest/tesseracttests
105104

106105
# generated files from unlvtests
107106
times.txt

CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,6 @@ target_link_libraries (tesseract libtesseract)
304304

305305
if (BUILD_TESTS AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/googletest/CMakeLists.txt)
306306
add_subdirectory(googletest)
307-
add_executable(tesseract_tests tests/tesseracttests.cpp)
308-
target_link_libraries(tesseract_tests gtest_main)
309307
endif()
310308

311309
if (BUILD_TRAINING_TOOLS)

tests/tesseracttests.cpp

-26
This file was deleted.

unittest/Makefile.am

+1-6
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ check_PROGRAMS = \
119119
tablefind_test \
120120
tablerecog_test \
121121
tabvector_test \
122-
tfile_test \
123-
tesseracttests
122+
tfile_test
124123

125124
if ENABLE_TRAINING
126125
check_PROGRAMS += commandlineflags_test
@@ -226,9 +225,6 @@ tablerecog_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS)
226225
tabvector_test_SOURCES = tabvector_test.cc
227226
tabvector_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS)
228227

229-
tesseracttests_SOURCES = ../tests/tesseracttests.cpp
230-
tesseracttests_LDADD = $(GTEST_LIBS) $(TESS_LIBS) $(LEPTONICA_LIBS)
231-
232228
tfile_test_SOURCES = tfile_test.cc
233229
tfile_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS)
234230

@@ -242,7 +238,6 @@ intsimdmatrix_test_LDADD += -lws2_32
242238
matrix_test_LDADD += -lws2_32
243239
osd_test_LDADD += -lws2_32
244240
loadlang_test_LDADD += -lws2_32
245-
tesseracttests_LDADD += -lws2_32
246241
endif
247242

248243
EXTRA_apiexample_test_DEPENDENCIES = $(abs_top_builddir)/test/testing/phototest.tif

0 commit comments

Comments
 (0)