diff --git a/tools/coverity.sh b/tools/coverity.sh new file mode 100644 index 0000000..2dfef33 --- /dev/null +++ b/tools/coverity.sh @@ -0,0 +1,10 @@ +BASE=/tmp/libswoc +COV="/home/amc/opt/coverity/cov-analysis-linux64-2022.12.2/bin" + +rm -rf ${BASE} +cd /tmp +git clone git@github.com:solidwallofcode/libswoc +cd libswoc +cmake . -B build +PATH="$COV:$PATH" $COV/cov-build --dir cov-int cmake --build build --target libswoc +tar czvf /tmp/libswoc.tgz cov-int