Turn on Tesseract 4 cache in test suite

Travis is too slow without it, and perhaps it’s overly paranoid to
never cache Tess4. Maybe nuke the cache occasionally to be safe…
This commit is contained in:
James R. Barlow
2017-05-12 11:42:27 -07:00
parent 5e26bb29d9
commit cb06359c0b
-5
View File
@@ -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