From: Amos Jeffries Date: Tue, 11 Aug 2009 05:22:15 +0000 (+1200) Subject: TestBed: Add bootstrap tests X-Git-Tag: SQUID_3_1_0_14~67 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e90d356410f29525debdae69de5a93aff97bdb2;p=thirdparty%2Fsquid.git TestBed: Add bootstrap tests Test and run bootstrap. This has the side effect of preparing the sources for further tests even when configure.in and Makefile.am's have changed. Also chmod for force removal of old garbage --- diff --git a/test-builds.sh b/test-builds.sh index 613070969b..e74bd38c41 100755 --- a/test-builds.sh +++ b/test-builds.sh @@ -43,6 +43,7 @@ buildtest() { btlayer="bt${layer}" log=${btlayer}.log echo "TESTING: ${layer}" + chmod -R 777 ${btlayer} rm -f -r ${btlayer} && mkdir ${btlayer} { result=255 diff --git a/test-suite/buildtests/layer-00-bootstrap.opts b/test-suite/buildtests/layer-00-bootstrap.opts new file mode 100644 index 0000000000..7951738a93 --- /dev/null +++ b/test-suite/buildtests/layer-00-bootstrap.opts @@ -0,0 +1,14 @@ +## Special run - to be done before all others... +# +## locate the sources and go there... +topb=`dirname $0` +topc=`dirname ${topb}` +cd ${topc} + +# echo "DEBUG: top=${top}" +# echo "DEBUG: topB=${topb}" +# echo "DEBUG: topC=${topc}" + +## Bootstrap the sources in case configure or makefiles changed. +./bootstrap.sh +exit $?