summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-12-21 23:40:41 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-12-21 23:40:41 +0100
commit7a01b33c313f15294024efe7652ec7ac4e848f5b (patch)
tree940fc7f9a2e2b83e8ff57641b8c2c7f91f845d2b /tests/Makefile.am
parente7458c1bc3f557c529e17a536120c2196d05a5fe (diff)
downloadcurl-7a01b33c313f15294024efe7652ec7ac4e848f5b.tar.gz
tests/Makefile: run checksrc on debug builds
... just like we already do in src/ and lib/
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 585d0171d..d9dbf0e15 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -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