From d7fda7b431d7af276d40550630390d5e28461140 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Wed, 29 Nov 2017 20:34:08 +0100 Subject: Remove the last remains of the internal selftest --- travis/install.sh | 4 ++-- travis/linux_gcc/before_install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'travis') diff --git a/travis/install.sh b/travis/install.sh index 78da24de..8126182b 100755 --- a/travis/install.sh +++ b/travis/install.sh @@ -74,9 +74,9 @@ PROJ_LIB=../nad src/multistresstest cd .. # autoconf build with grids and coverage if [ $TRAVIS_OS_NAME == "osx" ]; then - CFLAGS="-DPJ_SELFTEST --coverage" ./configure; + CFLAGS="--coverage" ./configure; else - CFLAGS="-DPJ_SELFTEST --coverage" LDFLAGS="-lgcov" ./configure; + CFLAGS="--coverage" LDFLAGS="-lgcov" ./configure; fi make -j3 make check diff --git a/travis/linux_gcc/before_install.sh b/travis/linux_gcc/before_install.sh index 0c37643c..87877629 100755 --- a/travis/linux_gcc/before_install.sh +++ b/travis/linux_gcc/before_install.sh @@ -4,7 +4,7 @@ sudo apt-get install -y cppcheck -cppcheck --inline-suppr --template='{file}:{line},{severity},{id},{message}' --enable=all --inconclusive --std=posix -DPJ_SELFTEST=1 src/*.c 2>/tmp/cppcheck.txt +cppcheck --inline-suppr --template='{file}:{line},{severity},{id},{message}' --enable=all --inconclusive --std=posix src/*.c 2>/tmp/cppcheck.txt grep "error," /tmp/cppcheck.txt if [[ $? -eq 0 ]] ; then -- cgit v1.2.3