From: Michal Nowak Date: Thu, 19 Nov 2020 11:33:27 +0000 (+0100) Subject: Drop bin/tests/headerdep_test.sh.in X-Git-Tag: v9.17.8~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9567cefd39f7f990d00df3afc5c1c163dab1d587;p=thirdparty%2Fbind9.git 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. --- diff --git a/bin/tests/.gitignore b/bin/tests/.gitignore index 7ec87dd31a9..0946f966d0c 100644 --- a/bin/tests/.gitignore +++ b/bin/tests/.gitignore @@ -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 index e54b157c60c..00000000000 --- a/bin/tests/headerdep_test.sh.in +++ /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 <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 diff --git a/util/copyrights b/util/copyrights index 4b1f2b8f5c9..47081e08256 100644 --- a/util/copyrights +++ b/util/copyrights @@ -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