]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
makefile: don't include the whole test/ directory
authorJason Ish <jason.ish@oisf.net>
Tue, 25 May 2021 17:39:31 +0000 (11:39 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 25 May 2021 17:39:31 +0000 (11:39 -0600)
Including the whole directory results in .deps files ending up
in the distribution archive which shouldn't be there. Instead
we have to list all the test sources individually.

Backport of 70b21df75633253ac8318f229de2f521c14a6630.

src/Makefile.am

index 670848c70b4b4c2659fe905e4d8574e5e388fa29..ebc8c63b44fe40f1c85e2e00ccb322ca32d21e82 100755 (executable)
@@ -578,7 +578,71 @@ win32-syslog.h
 include_HEADERS = \
 suricata-plugin.h
 
-EXTRA_DIST = tests
+EXTRA_DIST = \
+       tests/app-layer-htp-file.c \
+       tests/detect-bsize.c \
+       tests/detect.c \
+       tests/detect-engine-content-inspection.c \
+       tests/detect-file-data.c \
+       tests/detect-http2.c \
+       tests/detect-http-client-body.c \
+       tests/detect-http-cookie.c \
+       tests/detect-http-header.c \
+       tests/detect-http-host.c \
+       tests/detect-http-method.c \
+       tests/detect-http-raw-header.c \
+       tests/detect-http-server-body.c \
+       tests/detect-http-stat-code.c \
+       tests/detect-http-stat-msg.c \
+       tests/detect-http-uri.c \
+       tests/detect-http-user-agent.c \
+       tests/detect-icmpv4hdr.c \
+       tests/detect-icmpv6hdr.c \
+       tests/detect-icmpv6-mtu.c \
+       tests/detect-ipv4hdr.c \
+       tests/detect-ipv6hdr.c \
+       tests/detect-parse.c \
+       tests/detect-snmp-community.c \
+       tests/detect-snmp-pdu_type.c \
+       tests/detect-snmp-version.c \
+       tests/detect-ssl-state.c \
+       tests/detect-ssl-version.c \
+       tests/detect-tcphdr.c \
+       tests/detect-tcpmss.c \
+       tests/detect-template2.c \
+       tests/detect-template-buffer.c \
+       tests/detect-template.c \
+       tests/detect-tls-cert-fingerprint.c \
+       tests/detect-tls-cert-issuer.c \
+       tests/detect-tls-certs.c \
+       tests/detect-tls-cert-serial.c \
+       tests/detect-tls-cert-subject.c \
+       tests/detect-tls-cert-validity.c \
+       tests/detect-tls-ja3-hash.c \
+       tests/detect-tls-ja3s-hash.c \
+       tests/detect-tls-ja3s-string.c \
+       tests/detect-tls-ja3-string.c \
+       tests/detect-tls-sni.c \
+       tests/detect-tls-version.c \
+       tests/detect-transform-pcrexform.c \
+       tests/detect-ttl.c \
+       tests/detect-udphdr.c \
+       tests/fuzz/confyaml.c \
+       tests/fuzz/fuzz_applayerparserparse.c \
+       tests/fuzz/fuzz_applayerprotodetectgetproto.c \
+       tests/fuzz/fuzz_confyamlloadstring.c \
+       tests/fuzz/fuzz_decodepcapfile.c \
+       tests/fuzz/fuzz_mimedecparseline.c \
+       tests/fuzz/fuzz_siginit.c \
+       tests/fuzz/fuzz_sigpcap.c \
+       tests/fuzz/onefile.c \
+       tests/fuzz/oss-fuzz-configure.sh \
+       tests/fuzz/README \
+       tests/reputation.c \
+       tests/source-pcap.c \
+       tests/stream-tcp-inline.c \
+       tests/stream-tcp-list.c \
+       tests/stream-tcp-reassemble.c
 
 # set the include path found by configure
 AM_CPPFLAGS = $(all_includes)