summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2018-01-21 16:19:00 -0500
committerAllen Winter <allen.winter@kdab.com>2018-01-21 16:19:00 -0500
commitc1218563197651f5eb7c2686c26425adb7a2fecc (patch)
treef3adc6c3d04ccc0e099efb0ea63daedca6d882d0 /scripts
parent472936612e2ee89e5f8d608cf93d8ffc3e92a12c (diff)
downloadlibical-git-c1218563197651f5eb7c2686c26425adb7a2fecc.tar.gz
scripts/buildtests.sh - cmake -DICAL_BUILD_DOCS=False
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/buildtests.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh
index 54267e74..250fa762 100755
--- a/scripts/buildtests.sh
+++ b/scripts/buildtests.sh
@@ -86,7 +86,7 @@ CHECK_WARNINGS() {
# print warnings found in the compile-stage output
# $1 = file with the compile-stage output
COMPILE_WARNINGS() {
- whitelist='\(Value[[:space:]]descriptions\|g-ir-scanner:\|clang.*argument[[:space:]]unused[[:space:]]during[[:space:]]compilation\)'
+ whitelist='\(Value[[:space:]]descriptions\|unused[[:space:]]declarations\|g-ir-scanner:\|clang.*argument[[:space:]]unused[[:space:]]during[[:space:]]compilation\)'
CHECK_WARNINGS $1 "warning:" "$whitelist"
}
@@ -101,7 +101,7 @@ CPPCHECK_WARNINGS() {
# print warnings find in the clang-tidy output
# $1 = file with the clang-tidy output
TIDY_WARNINGS() {
- whitelist='\(Value[[:space:]]descriptions\|g-ir-scanner:\|clang.*argument[[:space:]]unused[[:space:]]during[[:space:]]compilation\|modernize-\|cppcoreguidelines-pro-type-const-cast\|cppcoreguidelines-pro-type-reinterpret-cast\|cppcoreguidelines-pro-type-vararg\|cppcoreguidelines-pro-bounds-pointer-arithmetic\|google-build-using-namespace\|llvm-include-order\|hicpp-use-equals-default\|cppcoreguidelines-no-malloc)'
+ whitelist='\(Value[[:space:]]descriptions\|unused[[:space:]]declarations\|g-ir-scanner:\|clang.*argument[[:space:]]unused[[:space:]]during[[:space:]]compilation\|modernize-\|cppcoreguidelines-pro-type-const-cast\|cppcoreguidelines-pro-type-reinterpret-cast\|cppcoreguidelines-pro-type-vararg\|cppcoreguidelines-pro-bounds-pointer-arithmetic\|google-build-using-namespace\|llvm-include-order\|hicpp-use-equals-default\|cppcoreguidelines-no-malloc)'
CHECK_WARNINGS $1 "warning:" "$whitelist"
}
@@ -109,7 +109,7 @@ TIDY_WARNINGS() {
# print warnings found in the scan-build output
# $1 = file with the scan-build output
SCAN_WARNINGS() {
- whitelist='\(Value[[:space:]]descriptions\|icalerror.*Dereference[[:space:]]of[[:space:]]null[[:space:]]pointer\)'
+ whitelist='\(Value[[:space:]]descriptions\|unused[[:space:]]declarations\|icalerror.*Dereference[[:space:]]of[[:space:]]null[[:space:]]pointer\)'
CHECK_WARNINGS $1 "warning:" "$whitelist"
}
@@ -457,8 +457,8 @@ cd ..
TOP=`pwd`
BDIR=""
-CMAKEOPTS="-DCMAKE_BUILD_TYPE=Debug -DGOBJECT_INTROSPECTION=True -DICAL_GLIB=True"
-TZCMAKEOPTS="-DCMAKE_BUILD_TYPE=Debug -DUSE_BUILTIN_TZDATA=True -DGOBJECT_INTROSPECTION=True -DICAL_GLIB=True"
+CMAKEOPTS="-DCMAKE_BUILD_TYPE=Debug -DGOBJECT_INTROSPECTION=True -DICAL_GLIB=True -DICAL_BUILD_DOCS=False"
+TZCMAKEOPTS="-DCMAKE_BUILD_TYPE=Debug -DUSE_BUILTIN_TZDATA=True -DGOBJECT_INTROSPECTION=True -DICAL_GLIB=True -DICAL_BUILD_DOCS=False"
#Static code checkers
KRAZY