]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
move wire_test back to bin/tests, no longer dependent on dnstap
authorEvan Hunt <each@isc.org>
Fri, 15 May 2020 19:57:18 +0000 (12:57 -0700)
committerEvan Hunt <each@isc.org>
Fri, 15 May 2020 20:19:28 +0000 (13:19 -0700)
wire_test is not only used by the dnstap system test, but also in
fuzz testing. it doesn't need to be installed, but it's useful to have it
built when BIND is.  this commit moves it back from bin/tests/system to
bin/tests, as a noinst_PROGRAM so that it's built by "make all" but
not installed.

bin/tests/Makefile.am
bin/tests/system/Makefile.am
bin/tests/system/conf.sh.in
bin/tests/wire_test.c [moved from bin/tests/system/wire_test.c with 100% similarity]
util/copyrights

index d4008c0dd037273e71e4c75eb04603c8f598072b..fc017eb1f284984fb650916772a7fd7daea87564 100644 (file)
@@ -1 +1,13 @@
+include $(top_srcdir)/Makefile.top
+
 SUBDIRS = system
+
+noinst_PROGRAMS = wire_test
+
+AM_CPPFLAGS +=                 \
+       $(LIBISC_CFLAGS)        \
+       $(LIBDNS_CFLAGS)
+
+LDADD =                                \
+       $(LIBISC_LIBS)          \
+       $(LIBDNS_LIBS)
index c107e2853a574304dff0109e5d2bdc236a56e290..003d8698a8b9cb8815cecd4b6acf59bd45b7db7e 100644 (file)
@@ -55,18 +55,6 @@ tkey_keydelete_LDADD =               \
        $(LDADD)                \
        $(LIBDNS_LIBS)
 
-if HAVE_DNSTAP
-check_PROGRAMS += wire_test
-
-wire_test_CPPFLAGS =           \
-       $(AM_CPPFLAGS)          \
-       $(LIBDNS_CFLAGS)
-
-wire_test_LDADD =              \
-       $(LDADD)                \
-       $(LIBDNS_LIBS)
-endif HAVE_DNSTAP
-
 TESTS =                        \
        acl                     \
        additional              \
index 4088fb4411c88ab18015c3d7484c83ba8a035760..552b7a0edea0f1e15e63b9842c7416087c333e08 100644 (file)
@@ -61,7 +61,7 @@ SETTIME=$TOP_BUILDDIR/bin/dnssec/dnssec-settime
 SIGNER=$TOP_BUILDDIR/bin/dnssec/dnssec-signzone
 TSIGKEYGEN=$TOP_BUILDDIR/bin/confgen/tsig-keygen
 VERIFY=$TOP_BUILDDIR/bin/dnssec/dnssec-verify
-WIRETEST=$TOP_BUILDDIR/bin/tests/system/wire_test
+WIRETEST=$TOP_BUILDDIR/bin/tests/wire_test
 
 BIGKEY=$TOP_BUILDDIR/bin/tests/system/rsabigexponent/bigkey
 GENCHECK=$TOP_BUILDDIR/bin/tests/system/rndc/gencheck
index e7a7acee6186caa3afc6fb841b47934f3669d4c1..35273cb4f880ca4aca4f3fe1b5e06004810d0475 100644 (file)
 ./bin/tests/system/win32/pipequeries.vcxproj.filters.in        X       2016,2018,2019,2020
 ./bin/tests/system/win32/pipequeries.vcxproj.in        X       2016,2017,2018,2019,2020
 ./bin/tests/system/win32/pipequeries.vcxproj.user      X       2016,2018,2019,2020
-./bin/tests/system/wire_test.c                 C       2020
 ./bin/tests/system/xfer/ans5/badkeydata                X       2011,2018,2019,2020
 ./bin/tests/system/xfer/ans5/badmessageid      X       2020
 ./bin/tests/system/xfer/ans5/goodaxfr          X       2011,2018,2019,2020
 ./bin/tests/win32/timer_test.vcxproj.filters.in        X       2013,2015,2018,2019,2020
 ./bin/tests/win32/timer_test.vcxproj.in                X       2013,2015,2016,2017,2018,2019,2020
 ./bin/tests/win32/timer_test.vcxproj.user      X       2013,2018,2019,2020
+./bin/tests/wire_test.c                                C       1999,2000,2001,2004,2005,2007,2015,2016,2018,2019,2020
 ./bin/tools/arpaname.c                         C       2009,2015,2016,2018,2019,2020
 ./bin/tools/arpaname.rst                       RST     2020
 ./bin/tools/dnstap-read.c                      C       2015,2016,2017,2018,2019,2020