summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-03-12 18:42:45 -0500
committerDavid Robillard <d@drobilla.net>2022-03-12 18:42:45 -0500
commit14864d01399daa6b76e443b3ffddd90a6c5f678d (patch)
treeb6df026125d7651eaf525420168ffb07440cfef3 /test
parentb590c510015db3b3ff8201c557c51c38d26c9982 (diff)
downloadlilv-14864d01399daa6b76e443b3ffddd90a6c5f678d.tar.gz
lilv-14864d01399daa6b76e443b3ffddd90a6c5f678d.tar.bz2
lilv-14864d01399daa6b76e443b3ffddd90a6c5f678d.zip
fixup! WIP: Port to serd1
Diffstat (limited to 'test')
-rw-r--r--test/.clang-tidy5
-rw-r--r--test/lilv_test_uri_map.h1
-rw-r--r--test/lilv_test_utils.c2
-rw-r--r--test/test_state.c1
4 files changed, 5 insertions, 4 deletions
diff --git a/test/.clang-tidy b/test/.clang-tidy
index a6f6844..ff80138 100644
--- a/test/.clang-tidy
+++ b/test/.clang-tidy
@@ -4,9 +4,11 @@ Checks: >
-*-magic-numbers,
-*-uppercase-literal-suffix,
-*-vararg,
+ -altera-*,
-android-cloexec-fopen,
-bugprone-assert-side-effect,
-bugprone-branch-clone,
+ -bugprone-easily-swappable-parameters,
-bugprone-macro-parentheses,
-bugprone-narrowing-conversions,
-bugprone-not-null-terminated-result,
@@ -18,6 +20,7 @@ Checks: >
-cert-err34-c,
-clang-analyzer-alpha.*,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
+ -concurrency-mt-unsafe,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-narrowing-conversions,
@@ -36,7 +39,9 @@ Checks: >
-misc-unused-parameters,
-modernize-return-braced-init-list,
-modernize-use-trailing-return-type,
+ -readability-function-cognitive-complexity,
-readability-implicit-bool-conversion,
+ -readability-suspicious-call-argument,
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
FormatStyle: file
diff --git a/test/lilv_test_uri_map.h b/test/lilv_test_uri_map.h
index e976381..292d57e 100644
--- a/test/lilv_test_uri_map.h
+++ b/test/lilv_test_uri_map.h
@@ -24,7 +24,6 @@
#include <assert.h>
#include <stddef.h>
-#include <stdint.h>
#include <stdlib.h>
#include <string.h>
diff --git a/test/lilv_test_utils.c b/test/lilv_test_utils.c
index bb5622b..fa79165 100644
--- a/test/lilv_test_utils.c
+++ b/test/lilv_test_utils.c
@@ -25,8 +25,6 @@
#include "serd/serd.h"
#include <errno.h>
-#include <stdbool.h>
-#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/test/test_state.c b/test/test_state.c
index 636d637..5515382 100644
--- a/test/test_state.c
+++ b/test/test_state.c
@@ -35,7 +35,6 @@
#endif
#include <assert.h>
-#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>