Use standard helper to skip Windows for /common
This commit is contained in:
parent
28337843b9
commit
280bc60b1b
@ -11,13 +11,13 @@ 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(r"\.c$", "", d)
|
||||||
primitive = re.sub("\.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)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user