Pull pycparser submodule if it's not present

This commit is contained in:
Douglas Stebila 2019-04-06 09:21:40 -04:00
parent 624d82cc67
commit bef34697fb

View File

@ -11,6 +11,10 @@ import helpers
def test_char(): def test_char():
if not(os.path.exists(os.path.join('pycparser', '.git'))):
helpers.run_subprocess(
['git', 'submodule', 'update', '--init']
)
for scheme in pqclean.Scheme.all_schemes(): for scheme in pqclean.Scheme.all_schemes():
for implementation in scheme.implementations: for implementation in scheme.implementations:
yield check_char, implementation yield check_char, implementation