X-Git-Url: http://git.wpitchoune.net/gitweb/?p=ppastats.git;a=blobdiff_plain;f=tests%2FMakefile.am;h=c3afa6a1c805c6f597df418ed530da2b82601d35;hp=0a5f3ef8e36e827ebcf9518206f72867a2719261;hb=32d204f8aa07a3da20abedc490be019d388683b3;hpb=41a1c0507a757c692453bad159eb17f6f00db242 diff --git a/tests/Makefile.am b/tests/Makefile.am index 0a5f3ef..c3afa6a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -6,12 +6,13 @@ EXTRA_DIST = \ checkpatch.pl \ test_strrep.c -check_PROGRAMS = test-strrep +TESTS = test-strrep -AM_CPPFLAGS = -pedantic -Werror +check_PROGRAMS = test-strrep test_strrep_SOURCES = \ test_strrep.c \ - ../src/str.c + $(top_builddir)/src/pstr.h \ + $(top_builddir)/src/pstr.c +test_strrep_CFLAGS = -I$(top_srcdir)/src -TESTS = test-strrep