X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ppastats.git;a=blobdiff_plain;f=tests%2FMakefile.in;h=7991fca42e695c254b1a66494d2290202186bf5d;hp=e870bed470981b91d5225bf6492685ef408f8e85;hb=2a5acf4e9e701b60e600b86366687c267fb64d9d;hpb=d9f38d560ff128b9e20f254bcb858b18788fd561 diff --git a/tests/Makefile.in b/tests/Makefile.in index e870bed..7991fca 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -77,7 +77,7 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -TESTS = test-strrep$(EXEEXT) test-ptime$(EXEEXT) +TESTS = test-cppcheck.sh test-strrep$(EXEEXT) test-ptime$(EXEEXT) check_PROGRAMS = test-strrep$(EXEEXT) test-ptime$(EXEEXT) subdir = tests DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ @@ -396,6 +396,7 @@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ +HAVE_CPPCHECK = @HAVE_CPPCHECK@ HELP2MAN = @HELP2MAN@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ @@ -494,6 +495,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = \ checkpatch.pl \ + test-cppcheck.sh \ test_strrep.c \ test_ptime.c @@ -829,6 +831,13 @@ recheck: all $(check_PROGRAMS) am__force_recheck=am--force-recheck \ TEST_LOGS="$$log_list"; \ exit $$? +test-cppcheck.sh.log: test-cppcheck.sh + @p='test-cppcheck.sh'; \ + b='test-cppcheck.sh'; \ + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ + --log-file $$b.log --trs-file $$b.trs \ + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ + "$$tst" $(AM_TESTS_FD_REDIRECT) test-strrep.log: test-strrep$(EXEEXT) @p='test-strrep$(EXEEXT)'; \ b='test-strrep'; \