Remove dummy test

This reverts commit 99755b0732.
The dummy test is no longer needed as there exist a lot of real tests now.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2018-11-08 15:19:50 +01:00
parent 7e27f78752
commit f4ec5beedc
4 changed files with 1 additions and 35 deletions

1
.gitignore vendored
View File

@ -101,7 +101,6 @@ kernel*.bin
/unittest/*_test
/unittest/primesbitvector
/unittest/primesmap
/unittest/tesseracttests
# generated files from unlvtests
times.txt

View File

@ -304,8 +304,6 @@ target_link_libraries (tesseract libtesseract)
if (BUILD_TESTS AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/googletest/CMakeLists.txt)
add_subdirectory(googletest)
add_executable(tesseract_tests tests/tesseracttests.cpp)
target_link_libraries(tesseract_tests gtest_main)
endif()
if (BUILD_TRAINING_TOOLS)

View File

@ -1,26 +0,0 @@
///////////////////////////////////////////////////////////////////////
// File: tesseracttests.cpp
// Description: Tests for Tesseract.
// Author: Stefan Weil
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
///////////////////////////////////////////////////////////////////////
#include "gtest/gtest.h"
TEST(TesseractTest, FirstDummyTestForTesseract) {
ASSERT_TRUE(1);
}
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}

View File

@ -119,8 +119,7 @@ check_PROGRAMS = \
tablefind_test \
tablerecog_test \
tabvector_test \
tfile_test \
tesseracttests
tfile_test
if ENABLE_TRAINING
check_PROGRAMS += commandlineflags_test
@ -226,9 +225,6 @@ tablerecog_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS)
tabvector_test_SOURCES = tabvector_test.cc
tabvector_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS)
tesseracttests_SOURCES = ../tests/tesseracttests.cpp
tesseracttests_LDADD = $(GTEST_LIBS) $(TESS_LIBS) $(LEPTONICA_LIBS)
tfile_test_SOURCES = tfile_test.cc
tfile_test_LDADD = $(GTEST_LIBS) $(TESS_LIBS)
@ -242,7 +238,6 @@ intsimdmatrix_test_LDADD += -lws2_32
matrix_test_LDADD += -lws2_32
osd_test_LDADD += -lws2_32
loadlang_test_LDADD += -lws2_32
tesseracttests_LDADD += -lws2_32
endif
EXTRA_apiexample_test_DEPENDENCIES = $(abs_top_builddir)/test/testing/phototest.tif