Skip to content
Snippets Groups Projects
Commit 13526bb2 authored by Jan Travnicek's avatar Jan Travnicek
Browse files

filter out tests from clang-tidy

parent 3e1abd7c
No related branches found
No related tags found
1 merge request!95Many clang-tidy fixes
...@@ -22,7 +22,7 @@ readability-*,\ ...@@ -22,7 +22,7 @@ readability-*,\
-readability-else-after-return,\ -readability-else-after-return,\
" "
WarningsAsErrors: '*' WarningsAsErrors: '*'
HeaderFilterRegex: '.*/(src|test-src)/*' HeaderFilterRegex: '.*/(src)/*'
CheckOptions: CheckOptions:
- key: modernize-use-default-member-init.UseAssignment - key: modernize-use-default-member-init.UseAssignment
value: '1' value: '1'
......
...@@ -101,7 +101,7 @@ static:cppcheck: ...@@ -101,7 +101,7 @@ static:cppcheck:
static:clang-tidy: static:clang-tidy:
<<: *static_template <<: *static_template
script: script:
- jq ".[].file" release/compile_commands.json | tr -d "\"" | xargs -n1 -P$(grep -c processor /proc/cpuinfo) clang-tidy-9 -p release/ - jq ".[].file" release/compile_commands.json | tr -d "\"" | grep -v "test-src" | xargs -n1 -P$(grep -c processor /proc/cpuinfo) clang-tidy-9 -p release/
   
# ----------------------------------------------- # -----------------------------------------------
# build # build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment