]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Drop bin/tests/headerdep_test.sh.in
authorMichal Nowak <mnowak@isc.org>
Thu, 19 Nov 2020 11:33:27 +0000 (12:33 +0100)
committerMichal Nowak <mnowak@isc.org>
Fri, 27 Nov 2020 12:11:41 +0000 (13:11 +0100)
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.

bin/tests/.gitignore
bin/tests/headerdep_test.sh.in [deleted file]
util/copyrights

index 7ec87dd31a98d09025f25caa51fc59f43290593e..0946f966d0ce6a7d2756773352930c5e7ae0970e 100644 (file)
@@ -1,5 +1,4 @@
 .libs
-headerdep_test.sh
 nxtify
 sdig
 *_test
diff --git a/bin/tests/headerdep_test.sh.in b/bin/tests/headerdep_test.sh.in
deleted file mode 100644 (file)
index e54b157..0000000
+++ /dev/null
@@ -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
index 4b1f2b8f5c980e09efd76632c9c9003fd132cc42..47081e08256b6f0373c93a1f1fd1d73f285c144d 100644 (file)
 ./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