diff options
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | tests-fuzz/.gitignore | 4 | ||||
-rw-r--r-- | tests-fuzz/Makefile.am | 10 | ||||
-rw-r--r-- | tests-fuzz/packet.c (renamed from tests/afl/packet.c) | 0 | ||||
-rw-r--r-- | tests/Makefile.am | 3 | ||||
-rw-r--r-- | tests/afl/.gitignore | 1 |
7 files changed, 16 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index e7a97e16e..288f4bc8c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = libtap src tests samples doc man +SUBDIRS = libtap src tests tests-fuzz samples doc man AM_DISTCHECK_CONFIGURE_FLAGS = \ --disable-code-coverage diff --git a/configure.ac b/configure.ac index 6a658d6f4..ae5495145 100644 --- a/configure.ac +++ b/configure.ac @@ -432,6 +432,7 @@ AC_CONFIG_FILES([Makefile libtap/Makefile src/Makefile tests/Makefile + tests-fuzz/Makefile src/dnstap/Makefile src/zscanner/Makefile src/dnssec/Makefile diff --git a/tests-fuzz/.gitignore b/tests-fuzz/.gitignore new file mode 100644 index 000000000..08143f678 --- /dev/null +++ b/tests-fuzz/.gitignore @@ -0,0 +1,4 @@ +/Makefile.in +/Makefile + +/packet diff --git a/tests-fuzz/Makefile.am b/tests-fuzz/Makefile.am new file mode 100644 index 000000000..360bb5185 --- /dev/null +++ b/tests-fuzz/Makefile.am @@ -0,0 +1,10 @@ +AM_CPPFLAGS = \ + -include $(top_builddir)/src/config.h \ + -I$(top_srcdir)/src +# -I$(top_srcdir)/src/dnssec/lib + +LDADD = \ + $(top_builddir)/src/libknot.la + +noinst_PROGRAMS = \ + packet diff --git a/tests/afl/packet.c b/tests-fuzz/packet.c index c2260f017..c2260f017 100644 --- a/tests/afl/packet.c +++ b/tests-fuzz/packet.c diff --git a/tests/Makefile.am b/tests/Makefile.am index 3a49c5f02..80b65f12f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -75,6 +75,3 @@ nodist_conf_SOURCES = sample_conf.c CLEANFILES = sample_conf.c runtests.log sample_conf.c: data/sample_conf $(abs_srcdir)/resource.sh $(abs_srcdir)/data/sample_conf >$@ - -noinst_PROGRAMS = \ - afl/packet diff --git a/tests/afl/.gitignore b/tests/afl/.gitignore deleted file mode 100644 index 23a0757e7..000000000 --- a/tests/afl/.gitignore +++ /dev/null @@ -1 +0,0 @@ -packet |