From 5957498c6f98fdeb74a1d8d205aefa6ce225018a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 29 Apr 2009 01:31:37 +0000 Subject: When running testcurl.pl display definitions from ares_build.h --- tests/testcurl.pl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'tests/testcurl.pl') diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 7168a8429..133a8dfef 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -533,6 +533,20 @@ close(F); if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) { logit "setup to build ares"; + if(-f "./ares/ares_build.h") { + logit "display ares/ares_build.h"; + if(open(F, "<./ares/ares_build.h")) { + while() { + my $ll = $_; + print $ll if(($ll =~ /^ *# *define/) && ($ll !~ /__CARES_BUILD_H/)); + } + close(F); + } + } + else { + mydie "no ares_build.h created/found"; + } + logit "display ares/config$confsuffix.h"; if(open(F, "ares/config$confsuffix.h")) { while () { -- cgit v1.2.3