make test generator use BLS

This commit is contained in:
protolambda 2019-05-21 22:55:02 +02:00
parent 8303c58aa4
commit f1ba5aadce
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623

View File

@ -15,7 +15,7 @@ def generate_from_tests(pkg):
for name in fn_names:
tfn = getattr(pkg, name)
try:
out.append(tfn(generator_mode=True))
out.append(tfn(generator_mode=True, bls_active=True))
except AssertionError:
print("ERROR: failed to generate vector from test: %s (pkg: %s)" % (name, pkg.__name__))
return out