← Commit list

6ada2e3dce

Viktor Szakats
Viktor Szakats
2026-03-12
SUCCESS Duration: 272s

Subject

autotools: limit checksrc target to ignore non-repo test sources

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

projects/Makefile.am+1 -1
@@ -50,7 +50,7 @@ CS_1 =
CS_ = $(CS_0)
checksrc:
- $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) $(srcdir)/OS400/*.[ch])
+ $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir)/OS400 $(srcdir)/OS400/*.[ch])
if NOT_CURL_CI
if DEBUGBUILD
tests/libtest/Makefile.am+1 -3
@@ -81,9 +81,7 @@ CS_ = $(CS_0)
# ignore generated C files since they play by slightly different rules!
checksrc: lib1521.c
- $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) \
- -W$(srcdir)/$(BUNDLE).c \
- $(srcdir)/*.[ch])
+ $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) -W$(srcdir)/$(BUNDLE).c $(FIRST_C) $(FIRST_H) $(UTILS_C) $(UTILS_H) $(TESTS_C))
if NOT_CURL_CI
all-local: checksrc
tests/server/Makefile.am+1 -4
@@ -62,11 +62,8 @@ CS_0 = @echo " RUN " $@;
CS_1 =
CS_ = $(CS_0)
-# ignore generated C files since they play by slightly different rules!
checksrc:
- $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) \
- -W$(srcdir)/$(BUNDLE).c \
- $(srcdir)/*.[ch])
+ $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) -W$(srcdir)/$(BUNDLE).c $(FIRST_C) $(FIRST_H) $(UTILS_C) $(UTILS_H) $(TESTS_C))
if NOT_CURL_CI
all-local: checksrc
tests/tunit/Makefile.am+1 -4
@@ -71,11 +71,8 @@ CS_0 = @echo " RUN " $@;
CS_1 =
CS_ = $(CS_0)
-# ignore generated C files since they play by slightly different rules!
checksrc:
- $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) \
- -W$(srcdir)/$(BUNDLE).c \
- $(srcdir)/*.[ch])
+ $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) -W$(srcdir)/$(BUNDLE).c $(TESTS_C))
if NOT_CURL_CI
all-local: checksrc
tests/unit/Makefile.am+1 -4
@@ -75,11 +75,8 @@ CS_0 = @echo " RUN " $@;
CS_1 =
CS_ = $(CS_0)
-# ignore generated C files since they play by slightly different rules!
checksrc:
- $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) \
- -W$(srcdir)/$(BUNDLE).c \
- $(srcdir)/*.[ch])
+ $(CHECKSRC)(@PERL@ $(top_srcdir)/scripts/checksrc.pl -D$(srcdir) -W$(srcdir)/$(BUNDLE).c $(TESTS_C))
if NOT_CURL_CI
all-local: checksrc