Drop bin/tests/headerdep_test.sh.in

The bin/tests/headerdep_test.sh script has not been updated since it was
first created and it cannot be used as-is with the current BIND source
code.  Better tools (e.g. "include-what-you-use") emerged since the
script was committed back in 2000, so instead of trying to bring it up
to date, remove it from the source repository.
This commit is contained in:
Michal Nowak 2020-11-19 12:33:27 +01:00
parent e0e644352c
commit 9567cefd39
No known key found for this signature in database
GPG key ID: 24A3E8463AEE5E56
3 changed files with 0 additions and 51 deletions

View file

@ -1,5 +1,4 @@
.libs
headerdep_test.sh
nxtify
sdig
*_test

View file

@ -1,49 +0,0 @@
#!/bin/sh
#
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
#
# Check the installed bind9 headers to make sure that no header
# depends on another header having been included first.
#
prefix=@prefix@
tmp=/tmp/thdr$$.tmp
status=0
echo "Checking for header interdependencies..."
# Make a list of header files.
(cd $prefix/include; find . -name '*.h' -print | sed 's!^./!!') > $tmp
# Check each header.
while read h
do
echo " - <$h>"
# Build a test program.
cat <<EOF >test.c
#include <$h>
EOF
# Compile the test program.
if
gcc @STD_CWARNINGS@ @STD_CINCLUDES@ -I$prefix/include -c test.c 2>&1
then
:
else
status=1
fi
done <$tmp
rm -f test.c test.o $tmp
exit $status

View file

@ -199,7 +199,6 @@
./bin/rndc/win32/rndc.vcxproj.in X 2013,2015,2016,2017,2018,2019,2020
./bin/rndc/win32/rndc.vcxproj.user X 2013,2018,2019,2020
./bin/tests/fromhex.pl PERL 2015,2016,2018,2019,2020
./bin/tests/headerdep_test.sh.in SH 2000,2001,2004,2007,2012,2016,2018,2019,2020
./bin/tests/prepare-softhsm2.sh SH 2020
./bin/tests/startperf/README X 2011,2018,2019,2020
./bin/tests/startperf/clean.sh SH 2011,2012,2016,2018,2019,2020