summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/headers/.clang-tidy3
-rw-r--r--test/test_sratom.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy
index 9457bcf..8c0843e 100644
--- a/test/headers/.clang-tidy
+++ b/test/headers/.clang-tidy
@@ -5,6 +5,9 @@ Checks: >
*,
-altera-*,
-llvmlibc-*,
+ -modernize-macro-to-enum,
+ -performance-no-int-to-ptr,
+ -readability-identifier-length,
WarningsAsErrors: '*'
HeaderFilterRegex: '.*/sratom/[^/]+.h'
FormatStyle: file
diff --git a/test/test_sratom.c b/test/test_sratom.c
index 3fa2db6..ba59737 100644
--- a/test/test_sratom.c
+++ b/test/test_sratom.c
@@ -73,7 +73,7 @@ SRATOM_LOG_FUNC(1, 2)
static int
test_fail(const char* fmt, ...)
{
- va_list args;
+ va_list args; // NOLINT(cppcoreguidelines-init-variables)
va_start(args, fmt);
fprintf(stderr, "error: ");
vfprintf(stderr, fmt, args);