From bef34697fbbe3a2ec304cc25022307eaf845e968 Mon Sep 17 00:00:00 2001 From: Douglas Stebila Date: Sat, 6 Apr 2019 09:21:40 -0400 Subject: [PATCH] Pull pycparser submodule if it's not present --- test/test_char.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_char.py b/test/test_char.py index 85bb47ac..98f633ed 100644 --- a/test/test_char.py +++ b/test/test_char.py @@ -11,6 +11,10 @@ import helpers 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 implementation in scheme.implementations: yield check_char, implementation