check target call cppcheck if it is installed
[psensor.git] / tests / Makefile.am
index aefec3f..eaee750 100644 (file)
@@ -36,3 +36,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