1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-29 19:01:22 +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,10 +11,10 @@ import pqclean
import helpers import helpers
@helpers.skip_windows()
def test_common(): def test_common():
if os.name != 'nt': # Cannot build on Windows at the moment
for d in os.listdir('common'): for d in os.listdir('common'):
primitive = re.sub("\.c$", "", d) primitive = re.sub(r"\.c$", "", d)
binname = os.path.join('..', 'bin', 'test_'+primitive) binname = os.path.join('..', 'bin', 'test_'+primitive)
helpers.make(binname) helpers.make(binname)
helpers.run_subprocess(binname) helpers.run_subprocess(binname)