mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-26 09:21:28 +00:00
Merge pull request #216 from PQClean/disable-clang-tidy-on-i386
Disable clang-tidy on i386
This commit is contained in:
commit
bc4375818a
@ -1,4 +1,5 @@
|
|||||||
import os
|
import os
|
||||||
|
import platform
|
||||||
import unittest
|
import unittest
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
|
||||||
@ -18,6 +19,8 @@ additional_flags = []
|
|||||||
@helpers.skip_windows()
|
@helpers.skip_windows()
|
||||||
@helpers.filtered_test
|
@helpers.filtered_test
|
||||||
def test_clang_tidy(implementation: pqclean.Implementation):
|
def test_clang_tidy(implementation: pqclean.Implementation):
|
||||||
|
if platform.machine() in ['i386']:
|
||||||
|
raise unittest.SkipTest("Clang-tidy has false-positives on i386")
|
||||||
helpers.ensure_available('clang-tidy')
|
helpers.ensure_available('clang-tidy')
|
||||||
cfiles = implementation.cfiles()
|
cfiles = implementation.cfiles()
|
||||||
common_files = glob(os.path.join('..', 'common', '*.c'))
|
common_files = glob(os.path.join('..', 'common', '*.c'))
|
||||||
|
Loading…
Reference in New Issue
Block a user