diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-07 13:31:28 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-07 13:31:28 +0200 |
commit | f4d654e6b5e993c15a3545c8d4e8d8ef3bb12b2b (patch) | |
tree | 023bddfb96e7d9a338c94be7040628f225bf7ccd /run-static-analysis.sh | |
parent | 0e2b7971343845248353f6d8503e28506e9536ea (diff) | |
parent | 69864ad11cf05198a673e4507d6006b21a243a31 (diff) | |
download | nx-libs-f4d654e6b5e993c15a3545c8d4e8d8ef3bb12b2b.tar.gz nx-libs-f4d654e6b5e993c15a3545c8d4e8d8ef3bb12b2b.tar.bz2 nx-libs-f4d654e6b5e993c15a3545c8d4e8d8ef3bb12b2b.zip |
Merge branch 'test-github-actions' into 3.6.x
Attributes GH PR #974: https://github.com/ArcticaProject/nx-libs/pull/974
Diffstat (limited to 'run-static-analysis.sh')
-rwxr-xr-x | run-static-analysis.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/run-static-analysis.sh b/run-static-analysis.sh deleted file mode 100755 index a9368973b..000000000 --- a/run-static-analysis.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -if [[ "${STATIC_ANALYSIS}" == "yes" ]]; then - # cppcheck - if ! [ -x "$(command -v cppcheck)" ]; then - echo 'Error: cppcheck is not installed.' >&2 - exit 1 - fi - CPPCHECK_OPTS='--error-exitcode=0 --force --quiet --suppressions-list=./static-analysis-suppressions' - # we exclude some external projects - CPPCHECK_EXCLUDES='-i ./nx-X11/extras/ -i nx-X11/programs/Xserver/GL/mesa* -i ./.pc -i ./nx-X11/.build-exports -i ./nx-X11/exports -i ./doc' - echo "$(cppcheck --version):"; - cppcheck $CPPCHECK_OPTS $CPPCHECK_EXCLUDES .; -fi |