X-Git-Url: http://git.wpitchoune.net/gitweb/?p=ppastats.git;a=blobdiff_plain;f=tests%2FMakefile.am;h=e80d69c3e0ca9be61181eb553e12a579bf9fb985;hp=a94900d0c8b0a67428f59766b323864d2945a2eb;hb=d2d98cb07bf3438819625ca83adf2162c030f438;hpb=cb359ac6ba3144ddd9e6ae4cf4b1be44be8939a4 diff --git a/tests/Makefile.am b/tests/Makefile.am index a94900d..e80d69c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -8,8 +8,7 @@ EXTRA_DIST = \ test_strrep.c \ test_ptime.c -TESTS = test-cppcheck.sh \ - test-strrep \ +TESTS = test-strrep \ test-ptime check_PROGRAMS = test-strrep test-ptime @@ -26,3 +25,6 @@ test_ptime_SOURCES = \ $(top_builddir)/src/ptime.c test_ptime_CFLAGS = -I$(top_srcdir)/src +if CPPCHECK +TESTS += test-cppcheck.sh +endif \ No newline at end of file