Use Perl to run tests suites with make

- works on Windows too!
- we need Perl to generate/build the test suites anyway
- easier & more flexible (eg, now count total number of tests run)
This commit is contained in:
Manuel Pégourié-Gonnard
2015-07-08 21:20:03 +01:00
parent a4f055fe0c
commit 85113848bd
3 changed files with 37 additions and 19 deletions

View File

@@ -59,12 +59,12 @@ ifndef WINDOWS
find . \( -name \*.gcno -o -name \*.gcda -o -name *.info \) -exec rm {} +
endif
ifndef WINDOWS
check: lib
$(MAKE) -C tests check
test: check
ifndef WINDOWS
# note: for coverage testing, build with:
# make CFLAGS='--coverage -g3 -O0'
covtest: