diff --git a/qa/coverity.sh b/qa/coverity.sh deleted file mode 100755 index 9e485b06..00000000 --- a/qa/coverity.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -# Automates part of the Coverity scan process - -if [ ! -f $PWD/qa/gdnsd.supp ]; then - echo "Run this from the root of the source tree!" - exit 99 -fi - -set -x -set -e - -rm -rf gdnsd.tgz cov-int -./configure --disable-developer -make clean -cov-build --dir cov-int make -tar -czf gdnsd.tgz cov-int - -GDNSD_VERS=`git describe` -echo "UPLOAD COMMAND: curl --form project=gdnsd --form token=7LBiBEF25lA9S58F8E9ZCQ --form email=blblack@gmail.com --form file=@gdnsd.tgz --form version=$GDNSD_VERS --form description=$GDNSD_VERS https://scan.coverity.com/builds?project=gdnsd" diff --git a/qa/sonar.sh b/qa/sonar.sh deleted file mode 100755 index 6d9f88fd..00000000 --- a/qa/sonar.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# Manual sonar submissions while working on dev stuff, only to be used from -# temporary feature branches, assumes the branch target is master - -BRANCH=`git rev-parse --abbrev-ref HEAD` -if echo $BRANCH | egrep -q '^(master|[0-9]+\.[0-9]+\.x)$'; then - echo "Execute this on a feature branch only" - exit 1 -fi - -TEST_CPUS=2 -rm -f *.gcov -rm -rf bw-output -CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" CPPFLAGS="-DGDNSD_NO_UNREACH_BUILTIN -DGDNSD_NO_FATAL_COVERAGE -DGDNSD_COVERTEST_EXIT" ./configure --without-hardening -make clean -SLOW_TESTS=1 make -j$TEST_CPUS check -gcov -a -b -p src/*.o src/plugins/*.o libgdmaps/*.o libgdnsd/*.o -make clean -./configure --disable-developer --without-hardening -build-wrapper-linux-x86-64 --out-dir bw-output make -j$TEST_CPUS -sonar-scanner -Dsonar.cfamily.threads=$TEST_CPUS -Dsonar.projectVersion=`git describe --match "v[0-9]*" --always --dirty` -Dsonar.branch.name=$BRANCH