From 280bc60b1b1624d9afc54d333555e9e5869a7ffc Mon Sep 17 00:00:00 2001 From: Joost Rijneveld Date: Wed, 10 Apr 2019 16:34:44 +0200 Subject: [PATCH] Use standard helper to skip Windows for /common --- test/test_common.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/test_common.py b/test/test_common.py index 65dc50a6..b303df5d 100644 --- a/test/test_common.py +++ b/test/test_common.py @@ -11,13 +11,13 @@ import pqclean import helpers +@helpers.skip_windows() def test_common(): - if os.name != 'nt': # Cannot build on Windows at the moment - for d in os.listdir('common'): - primitive = re.sub("\.c$", "", d) - binname = os.path.join('..', 'bin', 'test_'+primitive) - helpers.make(binname) - helpers.run_subprocess(binname) + for d in os.listdir('common'): + primitive = re.sub(r"\.c$", "", d) + binname = os.path.join('..', 'bin', 'test_'+primitive) + helpers.make(binname) + helpers.run_subprocess(binname) if __name__ == '__main__':