mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-10 00:03:09 -04:00
32 lines
895 B
Python
32 lines
895 B
Python
import helpers
|
|
import pytest
|
|
import sys
|
|
|
|
@helpers.filtered_test
|
|
@pytest.mark.skipif(sys.platform.startswith("win"), reason="Not needed on Windows")
|
|
@pytest.mark.parametrize('kem_name', helpers.available_kems_by_name())
|
|
def test_datasheet_kem(kem_name):
|
|
helpers.run_subprocess(
|
|
['grep', '-r', kem_name, 'docs/algorithms']
|
|
)
|
|
|
|
@helpers.filtered_test
|
|
@pytest.mark.skipif(sys.platform.startswith("win"), reason="Not needed on Windows")
|
|
@pytest.mark.parametrize('sig_name', helpers.available_sigs_by_name())
|
|
def test_datasheet_sig(sig_name):
|
|
helpers.run_subprocess(
|
|
['grep', '-r', sig_name, 'docs/algorithms']
|
|
)
|
|
|
|
@helpers.filtered_test
|
|
@pytest.mark.skipif(sys.platform.startswith("win"), reason="Not needed on Windows")
|
|
def test_doxygen():
|
|
helpers.run_subprocess(
|
|
['make', 'docs']
|
|
)
|
|
|
|
if __name__ == "__main__":
|
|
import sys
|
|
pytest.main(sys.argv)
|
|
|