]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: make sure checksrc runs on header files too
authorDaniel Stenberg <daniel@haxx.se>
Mon, 16 Dec 2019 07:52:16 +0000 (08:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 16 Dec 2019 21:46:48 +0000 (22:46 +0100)
tests/libtest/Makefile.am
tests/libtest/test.h
tests/server/Makefile.am
tests/unit/Makefile.am

index 29ab0a9c4bd1a7c6629c6690ba252b0f610feab4..ca7c01c81967a489a6d233df38f776a34c76028a 100644 (file)
@@ -137,7 +137,7 @@ CS_1 =
 CS_ = $(CS_0)
 
 checksrc:
-       $(CHECKSRC)@PERL@ $(top_srcdir)/lib/checksrc.pl $(srcdir)/*.c
+       $(CHECKSRC)@PERL@ $(top_srcdir)/lib/checksrc.pl $(srcdir)/*.[ch]
 
 if CURLDEBUG
 # for debug builds, we scan the sources on all regular make invokes
index fd88365c6902c9a0431395f1b08b579796237b7e..393743962beffb0f3ed38111902adf046c126965 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 
-/* !checksrc! disable ASSIGNWITHINCONDITION all */
+/* !checksrc! disable ASSIGNWITHINCONDITION 14 */
 
 /* Now include the curl_setup.h file from libcurl's private libdir (the source
    version, but that might include "curl_config.h" from the build dir so we
index ef3303ec138ccd496942d7d322cbe79e8304fe78..ca306e29abd53c78ee45429f6f00d7a1ade30931 100644 (file)
@@ -62,7 +62,7 @@ CS_1 =
 CS_ = $(CS_0)
 
 checksrc:
-       $(CHECKSRC)@PERL@ $(top_srcdir)/lib/checksrc.pl $(srcdir)/*.c
+       $(CHECKSRC)@PERL@ $(top_srcdir)/lib/checksrc.pl $(srcdir)/*.[ch]
 
 if CURLDEBUG
 # for debug builds, we scan the sources on all regular make invokes
index 6996cad6ad3316c845931fbdb50643b254cd51dc..4bcd47d226234c523516229a20b86ba978799eca 100644 (file)
@@ -70,7 +70,7 @@ CS_1 =
 CS_ = $(CS_0)
 
 checksrc:
-       $(CHECKSRC)@PERL@ $(top_srcdir)/lib/checksrc.pl $(srcdir)/*.c
+       $(CHECKSRC)@PERL@ $(top_srcdir)/lib/checksrc.pl $(srcdir)/*.[ch]
 
 if BUILD_UNITTESTS
 noinst_PROGRAMS = $(UNITPROGS)