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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user