summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2020-07-21 06:39:12 -0400
committerAllen Winter <allen.winter@kdab.com>2020-07-21 06:39:12 -0400
commit6c20397f39b1e122ad34983a8c5dc8a964b438a4 (patch)
treee076aefbb1ade16c6dc1f44820a3d8727e578f87 /scripts
parent751c4126631bafda57f03fdd2e346ba4ab5977ca (diff)
downloadlibical-git-6c20397f39b1e122ad34983a8c5dc8a964b438a4.tar.gz
scripts/buildtests.sh - whitelists
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/buildtests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh
index b57c0231..f3035676 100755
--- a/scripts/buildtests.sh
+++ b/scripts/buildtests.sh
@@ -99,7 +99,7 @@ CHECK_WARNINGS() {
# print warnings found in the compile-stage output
# $1 = file with the compile-stage output
COMPILE_WARNINGS() {
- whitelist='\(no[[:space:]]link[[:space:]]for:\|Value[[:space:]]descriptions\|unused[[:space:]]declarations\|G_ADD_PRIVATE\|g_type_class_add_private.*is[[:space:]]deprecated\|g-ir-scanner:\|clang.*argument[[:space:]]unused[[:space:]]during[[:space:]]compilation\|U_PLATFORM_HAS_WINUWP_API\|const[[:space:]]DBT\)'
+ whitelist='\(i-cal-object\.c\|no[[:space:]]link[[:space:]]for:\|Value[[:space:]]descriptions\|unused[[:space:]]declarations\|G_ADD_PRIVATE\|g_type_class_add_private.*is[[:space:]]deprecated\|g-ir-scanner:\|clang.*argument[[:space:]]unused[[:space:]]during[[:space:]]compilation\|U_PLATFORM_HAS_WINUWP_API\|const[[:space:]]DBT\)'
CHECK_WARNINGS $1 "warning:" "$whitelist"
}
@@ -123,7 +123,7 @@ TIDY_WARNINGS() {
# print warnings found in the scan-build output
# $1 = file with the scan-build output
SCAN_WARNINGS() {
- whitelist='\(no[[:space:]]link[[:space:]]for:\|g_type_class_add_private.*is[[:space:]]deprecated\|/vcc\.c\|/vobject\.c\|/icalsslexer\.c\|Value[[:space:]]descriptions\|unused[[:space:]]declarations\|icalerror.*Dereference[[:space:]]of[[:space:]]null[[:space:]]pointer\|G_ADD_PRIVATE\)'
+ whitelist='\(no[[:space:]]link[[:space:]]for:\|g_type_class_add_private.*is[[:space:]]deprecated\|libical-glib-scan\.c\|/i-cal-object\.c\|/vcc\.c\|/vobject\.c\|/icalsslexer\.c\|Value[[:space:]]descriptions\|unused[[:space:]]declarations\|icalerror.*Dereference[[:space:]]of[[:space:]]null[[:space:]]pointer\|G_ADD_PRIVATE\)'
CHECK_WARNINGS $1 "warning:" $whitelist
}