consistency
[psensor.git] / tests / Makefile.am
index aefec3f..7bed616 100644 (file)
@@ -4,7 +4,10 @@ check-local: checkpatch.pl
 
 DEFS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@
 
-EXTRA_DIST = checkpatch.pl data test-io-dir-list.sh
+EXTRA_DIST = checkpatch.pl \
+       data \
+       test-cppcheck.sh \
+       test-io-dir-list.sh
 
 check_PROGRAMS = test-io-dir-list \
        test-psensor-type-to-unit-str \
@@ -36,3 +39,7 @@ TESTS = test-io-dir-list.sh \
        test-psensor-value-to-str \
        test-url-encode \
        test-url-normalize
+
+if CPPCHECK
+TESTS += test-cppcheck.sh
+endif
\ No newline at end of file