mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-12-15 00:03:27 -05:00
Fix AppVeyor problems
This commit is contained in:
parent
34d33d0eba
commit
19f8e9994b
@ -38,4 +38,4 @@ after_test:
|
||||
- ps: >-
|
||||
$wc = New-Object 'System.Net.WebClient'
|
||||
|
||||
$wc.UploadFile("https://ci.appveyor.com/api/testresults/xunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test-results\pytests\results.xml))
|
||||
$wc.UploadFile("https://ci.appveyor.com/api/testresults/xunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test-results\pytest\results.xml))
|
||||
@ -1,6 +1,7 @@
|
||||
import helpers
|
||||
import os
|
||||
import pytest
|
||||
import sys
|
||||
|
||||
@helpers.filtered_test
|
||||
@pytest.mark.parametrize('program', ['example_kem', 'example_sig'])
|
||||
@ -21,6 +22,9 @@ def test_kem(kem_name):
|
||||
@pytest.mark.parametrize('sig_name', helpers.available_sigs_by_name())
|
||||
def test_sig(sig_name):
|
||||
if not(helpers.is_sig_enabled_by_name(sig_name)): pytest.skip('Not enabled')
|
||||
if sys.platform.startswith("win") and 'APPVEYOR' in os.environ:
|
||||
if 'SPHINCS' in sig_name and ('192f' in sig_name or '192s' in sig_name or '256f' in sig_name or '256s' in sig_name):
|
||||
pytest.skip('Skipping SPHINCS+ 192s and 256s tests on Windows AppVeyor builds')
|
||||
helpers.run_subprocess(
|
||||
[helpers.path_to_executable('test_sig'), sig_name],
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user