mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 23:48:58 +00:00
Fix sanitizer test
This commit is contained in:
parent
ff71e7de11
commit
a5e906a306
@ -14,14 +14,14 @@ import helpers
|
|||||||
def test_functest():
|
def test_functest():
|
||||||
for scheme in pqclean.Scheme.all_schemes():
|
for scheme in pqclean.Scheme.all_schemes():
|
||||||
for implementation in scheme.implementations:
|
for implementation in scheme.implementations:
|
||||||
if helpers.permit_test('functest', implementation):
|
if helpers.permit_test('functest', implementation):
|
||||||
yield check_functest, implementation
|
yield check_functest, implementation
|
||||||
|
|
||||||
|
|
||||||
def test_functest_sanitizers():
|
def test_functest_sanitizers():
|
||||||
for scheme in pqclean.Scheme.all_schemes():
|
for scheme in pqclean.Scheme.all_schemes():
|
||||||
for implementation in scheme.implementations:
|
for implementation in scheme.implementations:
|
||||||
if helpers.permit_test('functest_sanitizers', implementation):
|
if helpers.permit_test('functest_sanitizers', implementation):
|
||||||
yield check_functest_sanitizers, implementation
|
yield check_functest_sanitizers, implementation
|
||||||
|
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ def check_functest(implementation):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@helpers.skip_windows
|
@helpers.skip_windows()
|
||||||
def check_functest_sanitizers(implementation):
|
def check_functest_sanitizers(implementation):
|
||||||
env = None
|
env = None
|
||||||
if platform.machine() == 'ppc' and os.environ.get('CC', 'gcc') == 'clang':
|
if platform.machine() == 'ppc' and os.environ.get('CC', 'gcc') == 'clang':
|
||||||
|
Loading…
Reference in New Issue
Block a user