From 8e90d356410f29525debdae69de5a93aff97bdb2 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Tue, 11 Aug 2009 17:22:15 +1200 Subject: [PATCH] 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 --- test-builds.sh | 1 + test-suite/buildtests/layer-00-bootstrap.opts | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 test-suite/buildtests/layer-00-bootstrap.opts 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 $? -- 2.47.3