mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 15:39:07 +00:00
Remove clang-tidy -fix flag handlign (doesn't work)
This commit is contained in:
parent
210937a66f
commit
fbe01a7d3c
@ -8,7 +8,7 @@ import pytest
|
|||||||
import helpers
|
import helpers
|
||||||
import pqclean
|
import pqclean
|
||||||
|
|
||||||
additional_flags = []
|
additional_flags = [] #['-fix-errors']
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
@ -46,9 +46,4 @@ def test_clang_tidy(implementation: pqclean.Implementation):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import sys
|
import sys
|
||||||
# allow a user to specify --fix-errors, to immediately fix errors
|
|
||||||
if len(sys.argv) >= 2 and sys.argv[1] == '-fix-errors':
|
|
||||||
additional_flags = ['-fix-errors']
|
|
||||||
del sys.argv[1]
|
|
||||||
|
|
||||||
pytest.main(sys.argv)
|
pytest.main(sys.argv)
|
||||||
|
Loading…
Reference in New Issue
Block a user