diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2017-11-29 20:34:08 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2017-11-29 20:34:08 +0100 |
| commit | d7fda7b431d7af276d40550630390d5e28461140 (patch) | |
| tree | 65333f5954b261a12b8b4a0a6719825eb26009b4 /travis | |
| parent | 38f717fb6b9838fd30ef1388bc66cd14005309bd (diff) | |
| download | PROJ-d7fda7b431d7af276d40550630390d5e28461140.tar.gz PROJ-d7fda7b431d7af276d40550630390d5e28461140.zip | |
Remove the last remains of the internal selftest
Diffstat (limited to 'travis')
| -rwxr-xr-x | travis/install.sh | 4 | ||||
| -rwxr-xr-x | travis/linux_gcc/before_install.sh | 2 |
2 files changed, 3 insertions, 3 deletions
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 |
