mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-04 00:02:01 -04:00
* Initial format with astyle * Fix templating to match * Fix files with missing newline at EOF * Remove old line * Remove old .clang-format spec * Add prettyprint target to CMake
18 lines
349 B
Python
18 lines
349 B
Python
import helpers
|
|
import pytest
|
|
import sys
|
|
|
|
@helpers.filtered_test
|
|
@pytest.mark.skipif(sys.platform.startswith("win"), reason="Not needed on Windows")
|
|
def test_style():
|
|
|
|
result = helpers.run_subprocess(
|
|
['tests/test_style.sh']
|
|
)
|
|
assert 'Formatted' not in result
|
|
|
|
if __name__ == "__main__":
|
|
import sys
|
|
pytest.main(sys.argv)
|
|
|