-
Notifications
You must be signed in to change notification settings - Fork 81
/
Makefile.am
37 lines (28 loc) · 948 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
SUBDIRS = include src converters
DIST_SUBDIRS = $(SUBDIRS)
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
# pkgconfig
pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = libsixel.pc
CLEANFILES = valgrind.log test.log
all-am:
cp package.json.in package.json
test: all
$(MAKE) test -C converters 2>&1 |tee test.log
winetest: all
$(MAKE) winetest -C converters
valgrind: all
valgrind --leak-check=full --show-reachable=no --error-limit=no img2sixel images/snake.jpg -dfs 2>&1 \
| grep ^== \
| tee valgrind.log
grep "All heap blocks were freed" valgrind.log || \
grep "definitely lost: 0 bytes in 0 blocks" valgrind.log
grep "All heap blocks were freed" valgrind.log || \
grep "indirectly lost: 0 bytes in 0 blocks" valgrind.log
coveralls:
coveralls -e sixel_orig -e include -e m4 \
-e stb_image.h -e stb_image_write.h
coveralls-dryrun: test
coveralls -e sixel_orig -e include -e m4 \
-e stb_image.h -e stb_image_write.h \
--dryrun