removed valgrind

and removed code coverage,
which can only work correctly when compiling only once
(here, we have multiple binaries created)
This commit is contained in:
Yann Collet 2018-04-01 19:43:36 -07:00
parent 63c8575d09
commit d4eea23960
2 changed files with 3 additions and 7 deletions

View File

@ -1,13 +1,9 @@
language: c
compiler: gcc
script: CFLAGS=-coverage make -B test-all
script: make -B test-all
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq gcc-arm-linux-gnueabi
- sudo apt-get install -qq clang
- sudo apt-get install -qq g++-multilib
- sudo apt-get install -qq gcc-multilib
- sudo apt-get install -qq valgrind
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@ -134,8 +134,8 @@ check: xxhsum
test-mem: xxhsum
# memory tests
valgrind --leak-check=yes --error-exitcode=1 ./xxhsum -bi1 xxhash.c
valgrind --leak-check=yes --error-exitcode=1 ./xxhsum -H0 xxhash.c
valgrind --leak-check=yes --error-exitcode=1 ./xxhsum -H1 xxhash.c
valgrind --leak-check=yes --error-exitcode=1 ./xxhsum -H0 xxhash.c
valgrind --leak-check=yes --error-exitcode=1 ./xxhsum -H1 xxhash.c
.PHONY: test32
test32: clean xxhsum32