From ec56b1c9aa1dc8ba5175a8049a62072ae935e672 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 17 Apr 2011 17:59:14 +1200 Subject: [PATCH] TestBed: include config.h first when testing headers --- test-suite/testheaders.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test-suite/testheaders.sh b/test-suite/testheaders.sh index 457496a12e..11d27c30d3 100755 --- a/test-suite/testheaders.sh +++ b/test-suite/testheaders.sh @@ -21,6 +21,7 @@ for f in `cd ${dir} && ls -1 *.h 2>/dev/null`; do hdr=`echo "${f}" | sed s/.h//` if [ ! -e ./testHeaderDeps_${hdr}.o -o ${dir}/${f} -nt ./testHeaderDeps_${hdr}.o ]; then ( echo "/* This file is AUTOMATICALLY GENERATED. DO NOT ALTER IT */" + echo "#include \"config.h\"" echo "#include \"${dir}/${f}\" " echo "int main( int argc, char* argv[] ) { return 0; } " ) >./testHeaderDeps_${hdr}.cc -- 2.47.2