]> granicus.if.org Git - curl/commitdiff
tests/Makefile: run checksrc on debug builds
authorDaniel Stenberg <daniel@haxx.se>
Wed, 21 Dec 2016 22:40:41 +0000 (23:40 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 21 Dec 2016 22:40:41 +0000 (23:40 +0100)
... just like we already do in src/ and lib/

tests/Makefile.am

index 585d0171d1975b14492f04bc9ffabfcd42029fb7..d9dbf0e157185f1e1ce942211257a9f7918f340f 100644 (file)
@@ -99,3 +99,8 @@ checksrc:
        cd libtest && $(MAKE) checksrc
        cd unit && $(MAKE) checksrc
        cd server && $(MAKE) checksrc
+
+if CURLDEBUG
+# for debug builds, we scan the sources on all regular make invokes
+all-local: checksrc
+endif