X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=tests%2FMakefile.am;fp=tests%2FMakefile.am;h=466b5be0aa0ccb53aaa5eea62a3aa77663c6a409;hb=0ebeecd01227fce93c66d0cd07e7a1efd5565632;hp=97533226676a3254e83daf1152159a287d3d2a9b;hpb=04fee4fe50c459b77f51e702a0cc2322268e8baf;p=ppastats.git diff --git a/tests/Makefile.am b/tests/Makefile.am index 9753322..466b5be 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,4 +2,16 @@ check-local: checkpatch.pl find $(top_srcdir)/src -name \*.c -exec $(srcdir)/checkpatch.pl --show-types -q --no-tree -emacs -f {} \; find $(top_srcdir)/src -name \*.h -exec $(srcdir)/checkpatch.pl --show-types -q --no-tree -emacs -f {} \; -EXTRA_DIST = checkpatch.pl +EXTRA_DIST = \ + checkpatch.pl \ + test_strrep.c + +check_PROGRAMS = test-strrep + +AM_CPPFLAGS = -pedantic -Werror + +test_strrep_SOURCES = \ + test_strrep.c \ + ../src/str.c + +TESTS = test-strrep