Browse Source

Disable clang-tidy on i386

tags/v0.0.1
Thom Wiggers 5 years ago
parent
commit
9067d622ab
No known key found for this signature in database GPG Key ID: 1BB0A7CE26E363
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      test/test_linter.py

+ 3
- 0
test/test_linter.py View File

@@ -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…
Cancel
Save