From cb06359c0b3628061f5b091a5b68542fe6f54a6f Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Fri, 12 May 2017 11:42:27 -0700 Subject: [PATCH] Turn on Tesseract 4 cache in test suite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Travis is too slow without it, and perhaps it’s overly paranoid to never cache Tess4. Maybe nuke the cache occasionally to be safe… --- tests/spoof/tesseract_cache.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/spoof/tesseract_cache.py b/tests/spoof/tesseract_cache.py index 6f19701a..5429e8ad 100755 --- a/tests/spoof/tesseract_cache.py +++ b/tests/spoof/tesseract_cache.py @@ -57,11 +57,6 @@ def main(): ['tesseract', '--version'], stderr=subprocess.STDOUT) - if b'4.00.00alpha' in tess_version: - # Tesseract 4.x alpha is a moving target, don't cache it - real_tesseract() - return - m.update(tess_version) # Insert this source file into the hash function, to ensure that any