make grind: no need to source mapnik-settings + add grinding of visual tests

This commit is contained in:
Dane Springmeyer 2015-05-23 12:05:40 -07:00
parent ad09abee21
commit 9d9a1283d6

View file

@ -86,11 +86,13 @@ pep8:
# note: pass --gen-suppressions=yes to create new suppression entries # note: pass --gen-suppressions=yes to create new suppression entries
grind: grind:
@source localize.sh && source mapnik-settings.env && \ @source localize.sh && \
valgrind --suppressions=./test/unit/valgrind.supp --leak-check=full --log-fd=1 ./test/visual/run | grep definitely;
@source localize.sh && \
for FILE in test/standalone/*-bin; do \ for FILE in test/standalone/*-bin; do \
valgrind --suppressions=./test/unit/valgrind.supp --leak-check=full --log-fd=1 $${FILE} | grep definitely; \ valgrind --suppressions=./test/unit/valgrind.supp --leak-check=full --log-fd=1 $${FILE} | grep definitely; \
done done
@source localize.sh && source mapnik-settings.env && \ @source localize.sh && \
valgrind --suppressions=./test/unit/valgrind.supp --leak-check=full --log-fd=1 ./test/unit/run | grep definitely; valgrind --suppressions=./test/unit/valgrind.supp --leak-check=full --log-fd=1 ./test/unit/run | grep definitely;
render: render: