diff options
author | Arne Schwabe <arne@rfc2549.org> | 2021-08-12 22:22:31 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2021-08-12 22:22:43 +0200 |
commit | e530ceb63981af11242421151b4e28639fbe31fd (patch) | |
tree | a871c0d68d9333c410f1bebba96ae39e4c405a71 | |
parent | 9c7285a5d2613f62118af3f3279adfa555fe1561 (diff) |
Update coverity script
-rwxr-xr-x | runcoverity.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/runcoverity.sh b/runcoverity.sh index 3d1f957b..f6622155 100755 --- a/runcoverity.sh +++ b/runcoverity.sh @@ -1,11 +1,16 @@ #!/bin/bash -xe -export PATH=$PATH:/Applications/cov-analysis-macosx-2020.09/bin +export PATH=$PATH:/Applications/cov-analysis-macosx-2021.03/bin -if [ -n ${COVERITY_CONNECT_HOST} ]; then +if [ -z "${COVERITY_CONNECT_HOST}" ]; then echo COVERITY_CONNECT_HOST not set exit 1 fi +cov-configure --config .coverity/cfg.xml --clang +cov-configure --config .coverity/cfg.xml --android +cov-configure --config .coverity/cfg.xml --kotlin +cov-configure --config .coverity/cfg.xml --java + ./gradlew -b build.gradle.kts --no-daemon clean cov-build --dir .coverity/idir --config .coverity/cfg.xml ./gradlew -b build.gradle.kts --no-daemon assembleUiRelease |