Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 884715 Details for
Bug 920795
net-misc/passt-2023.12.04 - sandbox issue
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
passt-2023.12.30-disable-tests.patch
passt-2023.12.30-disable-tests.patch (text/plain), 4.75 KB, created by
Yury Katuar
on 2024-02-11 09:36:40 UTC
(
hide
)
Description:
passt-2023.12.30-disable-tests.patch
Filename:
MIME Type:
Creator:
Yury Katuar
Created:
2024-02-11 09:36:40 UTC
Size:
4.75 KB
patch
obsolete
>diff --color -rupN a/Makefile b/Makefile >--- a/Makefile 2024-02-11 10:20:13.441588279 +0100 >+++ b/Makefile 2024-02-11 10:21:06.777392543 +0100 >@@ -187,125 +187,3 @@ docs: README.md > [ $$skip -eq 1 ] && skip=0; \ > done < README.md; \ > ) > README.plain.md >- >-# Checkers currently disabled for clang-tidy: >-# - llvmlibc-restrict-system-libc-headers >-# TODO: this is Linux-only for the moment, nice to fix eventually >-# >-# - bugprone-macro-parentheses >-# - google-readability-braces-around-statements >-# - hicpp-braces-around-statements >-# - readability-braces-around-statements >-# Debatable whether that improves readability, right now it would look >-# like a mess >-# >-# - readability-magic-numbers >-# - cppcoreguidelines-avoid-magic-numbers >-# TODO: in most cases they are justified, but probably not everywhere >-# >-# - clang-analyzer-valist.Uninitialized >-# TODO: enable once https://bugs.llvm.org/show_bug.cgi?id=41311 is fixed >-# >-# - clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling >-# Probably not doable to impement this without plain memcpy(), memset() >-# >-# - cppcoreguidelines-init-variables >-# Dubious value, would kill readability >-# >-# - hicpp-signed-bitwise >-# Those are needed for syscalls, epoll_wait flags, etc. >-# >-# - llvm-include-order >-# TODO: not really important, but nice to fix eventually >-# >-# - readability-isolate-declaration >-# Dubious value, would kill readability >-# >-# - bugprone-narrowing-conversions >-# - cppcoreguidelines-narrowing-conversions >-# TODO: nice to fix eventually >-# >-# - cppcoreguidelines-avoid-non-const-global-variables >-# TODO: check, fix, and more in general constify wherever possible >-# >-# - altera-unroll-loops >-# - altera-id-dependent-backward-branch >-# TODO: check paths where it might make sense to improve performance >-# >-# - bugprone-easily-swappable-parameters >-# Not much can be done about them other than being careful >-# >-# - readability-function-cognitive-complexity >-# TODO: split reported functions >-# >-# - altera-struct-pack-align >-# "Poor" alignment needed for structs reflecting message formats/headers >-# >-# - concurrency-mt-unsafe >-# TODO: check again if multithreading is implemented >-# >-# - readability-identifier-length >-# Complains about any identifier <3 characters, reasonable for >-# globals, pointlessly verbose for locals and parameters. >-# >-# - bugprone-assignment-in-if-condition >-# Dubious value over the compiler's built-in warning. Would >-# increase verbosity. >-# >-# - misc-include-cleaner >-# Wants to include headers which *directly* provide the things >-# we use. That sounds nice, but means it will often want a OS >-# specific header instead of a mostly standard one, such as >-# <linux/limits.h> instead of <limits.h>. >- >-clang-tidy: $(SRCS) $(HEADERS) >- clang-tidy -checks=*,-modernize-*,\ >- -clang-analyzer-valist.Uninitialized,\ >- -cppcoreguidelines-init-variables,\ >- -bugprone-assignment-in-if-condition,\ >- -bugprone-macro-parentheses,\ >- -google-readability-braces-around-statements,\ >- -hicpp-braces-around-statements,\ >- -readability-braces-around-statements,\ >- -readability-magic-numbers,\ >- -llvmlibc-restrict-system-libc-headers,\ >- -hicpp-signed-bitwise,\ >- -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,\ >- -llvm-include-order,\ >- -cppcoreguidelines-avoid-magic-numbers,\ >- -readability-isolate-declaration,\ >- -bugprone-narrowing-conversions,\ >- -cppcoreguidelines-narrowing-conversions,\ >- -cppcoreguidelines-avoid-non-const-global-variables,\ >- -altera-unroll-loops,-altera-id-dependent-backward-branch,\ >- -bugprone-easily-swappable-parameters,\ >- -readability-function-cognitive-complexity,\ >- -altera-struct-pack-align,\ >- -concurrency-mt-unsafe,\ >- -readability-identifier-length,\ >- -misc-include-cleaner \ >- -config='{CheckOptions: [{key: bugprone-suspicious-string-compare.WarnOnImplicitComparison, value: "false"}]}' \ >- --warnings-as-errors=* $(SRCS) -- $(filter-out -pie,$(FLAGS) $(CFLAGS) $(CPPFLAGS)) -DCLANG_TIDY_58992 >- >-CPPCHECK_EXHAUSTIVE := >-ifeq ($(shell cppcheck --check-level=exhaustive /dev/null > /dev/null 2>&1; echo $$?),0) >- CPPCHECK_EXHAUSTIVE += --check-level=exhaustive >-endif >- >-SYSTEM_INCLUDES := /usr/include $(wildcard /usr/include/$(TARGET)) >-ifeq ($(shell $(CC) -v 2>&1 | grep -c "gcc version"),1) >-VER := $(shell $(CC) -dumpversion) >-SYSTEM_INCLUDES += /usr/lib/gcc/$(TARGET)/$(VER)/include >-endif >-cppcheck: $(SRCS) $(HEADERS) >- cppcheck --std=c11 --error-exitcode=1 --enable=all --force \ >- --inconclusive --library=posix --quiet \ >- $(CPPCHECK_EXHAUSTIVE) \ >- $(SYSTEM_INCLUDES:%=-I%) \ >- $(SYSTEM_INCLUDES:%=--config-exclude=%) \ >- $(SYSTEM_INCLUDES:%=--suppress=*:%/*) \ >- $(SYSTEM_INCLUDES:%=--suppress=unmatchedSuppression:%/*) \ >- --inline-suppr \ >- --suppress=unusedStructMember \ >- $(filter -D%,$(FLAGS) $(CFLAGS) $(CPPFLAGS)) \ >- .
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 920795
:
880609
|
880610
|
880611
|
880612
|
880613
|
880614
|
880615
|
880616
| 884715