summaryrefslogtreecommitdiff
path: root/scripts/buildtests.sh
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2018-03-03 11:50:00 -0500
committerAllen Winter <allen.winter@kdab.com>2018-03-03 11:50:00 -0500
commitd470253ed0d529c9495b1f4883b160912c842d72 (patch)
treea4aa975adf7ae2b34f2eeec1e7e3b47135d4bc23 /scripts/buildtests.sh
parent82efc699521e49df44713530ff5ba902ae338ee1 (diff)
downloadlibical-git-d470253ed0d529c9495b1f4883b160912c842d72.tar.gz
scripts/buildtests.sh - follow newer splint version
Diffstat (limited to 'scripts/buildtests.sh')
-rwxr-xr-xscripts/buildtests.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh
index 009cb2cd..953e67b5 100755
--- a/scripts/buildtests.sh
+++ b/scripts/buildtests.sh
@@ -275,7 +275,7 @@ SPLINT() {
name="$1-splint"
if ( test $runsplint -eq 0 )
then
- echo "===== SPLIT TEST $1 DISABLED DUE TO COMMAND LINE OPTION ====="
+ echo "===== SPLINT TEST $1 DISABLED DUE TO COMMAND LINE OPTION ====="
return
fi
COMMAND_EXISTS "splint"
@@ -338,6 +338,8 @@ SPLINT() {
-I $TOP/src/libicalss \
-I $TOP/src/libicalvcal \
-I $TOP/src/libical-glib | \
+ grep -v '[[:space:]]Location[[:space:]]unknown[[:space:]]' | \
+ grep -v '[[:space:]]Code[[:space:]]cannot[[:space:]]be[[:space:]]parsed.' | \
cat - 2>&1 | tee splint-$name.out
status=${PIPESTATUS[0]}
if ( test $status -gt 0 )
@@ -423,7 +425,7 @@ KRAZY() {
##### END FUNCTIONS #####
#TEMP=`getopt -o hkctbslgad --long help,no-krazy,no-cppcheck,no-tidy,no-scan,no-splint,no-clang-build,no-gcc-build,no-asan-build,no-tsan-build -- "$@"`
-TEMP=`getopt hkctbslgad: $*`
+TEMP=`getopt hkctbslgad $*`
if [ $? != 0 ] ; then echo "Terminating..." >&2 ; exit 1 ; fi
# Note the quotes around `$TEMP': they are essential!
eval set -- "$TEMP"