1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 09:21:28 +00:00

Use standard helper to skip Windows for /common

This commit is contained in:
Joost Rijneveld 2019-04-10 16:34:44 +02:00
parent 28337843b9
commit 280bc60b1b
No known key found for this signature in database
GPG Key ID: A4FE39CF49CBC553

View File

@ -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__':