diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-04-03 16:20:43 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-04-03 22:38:36 +0200 |
commit | d3252e000c96f31456667c3033c13d83e2628d29 (patch) | |
tree | 07b8025dbb119659da2d0d08e07134d511776ed0 /tests/unit | |
parent | 19fafa1f5ada1398557632975a04173014813b97 (diff) | |
download | curl-d3252e000c96f31456667c3033c13d83e2628d29.tar.gz |
checksrc: run checksrc in tests when 'make checksrc' in root
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am index 33af1ec0e..f44d623be 100644 --- a/tests/unit/Makefile.am +++ b/tests/unit/Makefile.am @@ -5,7 +5,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. +# Copyright (C) 1998 - 2016, 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 @@ -71,6 +71,9 @@ AM_CPPFLAGS += -DCURL_STATICLIB -DUNITTESTS # Makefile.inc provides neat definitions include Makefile.inc +checksrc: + @@PERL@ $(top_srcdir)/lib/checksrc.pl $(top_srcdir)/tests/unit/*.c + if BUILD_UNITTESTS noinst_PROGRAMS = $(UNITPROGS) else |