X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ptask.git;a=blobdiff_plain;f=tests%2FMakefile.am;fp=tests%2FMakefile.am;h=93032d690a1a8445187deeda96098fa8447daa75;hp=0000000000000000000000000000000000000000;hb=796ae3c2d3d27ea0ce5dbd72e29e4fe5f87d7966;hpb=7d091ae2bea9ffb164a5736a416ceccd79639431 diff --git a/tests/Makefile.am b/tests/Makefile.am new file mode 100644 index 0000000..93032d6 --- /dev/null +++ b/tests/Makefile.am @@ -0,0 +1,12 @@ +check-local: checkpatch.pl + find $(top_srcdir)/src -name \*.c -exec $(srcdir)/checkpatch.pl --ignore SPLIT_STRING --show-types -q --no-tree -emacs -f {} \; + find $(top_srcdir)/src -name \*.h -exec $(srcdir)/checkpatch.pl --ignore SPLIT_STRING --show-types -q --no-tree -emacs -f {} \; + +EXTRA_DIST = checkpatch.pl \ + test-cppcheck.sh + +TESTS= + +if CPPCHECK +TESTS += test-cppcheck.sh +endif \ No newline at end of file