Disable clang-tidy on i386

This commit is contained in:
Thom Wiggers 2019-07-30 10:21:11 +02:00
parent 78a65d6ec9
commit 9067d622ab
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -1,4 +1,5 @@
import os
import platform
import unittest
from glob import glob
@ -18,6 +19,8 @@ additional_flags = []
@helpers.skip_windows()
@helpers.filtered_test
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')
cfiles = implementation.cfiles()
common_files = glob(os.path.join('..', 'common', '*.c'))