next release will be 1.3.3
[ppastats.git] / tests / Makefile.am
1 check-local: checkpatch.pl
2         find $(top_srcdir)/src -name \*.c -exec $(srcdir)/checkpatch.pl --show-types -q --no-tree  -emacs -f {} \;
3         find $(top_srcdir)/src -name \*.h -exec $(srcdir)/checkpatch.pl --ignore NEW_TYPEDEFS --show-types -q --no-tree  -emacs -f {} \;
4
5 EXTRA_DIST = \
6         checkpatch.pl \
7         test-cppcheck.sh \
8         test_strrep.c \
9         test_ptime.c
10
11 TESTS = test-strrep \
12         test-ptime
13
14 check_PROGRAMS = test-strrep test-ptime
15
16 test_strrep_SOURCES = \
17         test_strrep.c \
18         $(top_builddir)/src/pstr.h \
19         $(top_builddir)/src/pstr.c
20 test_strrep_CFLAGS = -I$(top_srcdir)/src
21
22 test_ptime_SOURCES = \
23         test_ptime.c \
24         $(top_builddir)/src/ptime.h \
25         $(top_builddir)/src/ptime.c
26 test_ptime_CFLAGS = -I$(top_srcdir)/src
27
28 if CPPCHECK
29 TESTS += test-cppcheck.sh
30 endif