commit 90255eec7753b617c4aad1ad1942dd242f535f25 Author: Daniel Swanson Date: Sat Jul 17 17:08:00 2021 -0500 read files should come after generating said files diff --git a/apertium-regtest.py b/apertium-regtest.py index c6460c3..af8123a 100755 --- a/apertium-regtest.py +++ b/apertium-regtest.py @@ -924,8 +924,8 @@ def static_test(ignore_add=False): for i, (name, corp) in enumerate(Corpus.all_corpora.items(), 1): print('Corpus %s of %s: %s' % (i, n, name)) if not corp.loaded: - corp.load() corp.run() + corp.load() if corp.data['add']: print(' %s tests added since last run' % len(corp.data['add'])) if not ignore_add: