Adds filter exclusion.

Some refactoring.
This commit is contained in:
Andrea Mazzoleni 2011-03-16 23:52:10 +01:00
parent c2d113685e
commit b9b8fd0bb8
24 changed files with 687 additions and 217 deletions

View file

@ -52,9 +52,10 @@ clean-local:
rm -rf test
maintainer-clean-local:
rm -f README AUTHORS HISTORY INSTALL
rm -f snapraid.1 snapraid.txt snapraid.html
# Automatic testing
CHECK = ./snapraid -v -c test.conf fix
check-local:
@ -90,9 +91,11 @@ check-local:
./mktest damage 1 1 500 test/disk2/b*
./snapraid -c $(srcdir)/test.conf check 2>/dev/null
./snapraid -c $(srcdir)/test.conf fix 2>/dev/null
./snapraid -c $(srcdir)/test.conf check
./snapraid -c $(srcdir)/test.conf check
echo Success!
# Valgrind testing
valgrind:
valgrind \
--tool=memcheck \
@ -130,9 +133,6 @@ cachegrind:
%.html : %.d
advd2 html < $(srcdir)/$< > $@
%.hh : %.d
advd2 frame < $(srcdir)/$< > $@
# Windows distribution
DISTWIN = \