[prev in list] [next in list] [prev in thread] [next in thread]
List: squid-cvs
Subject: /bzr/squid3/trunk/ r9529: TestBed: add distcheck to tested build procedures
From: Amos Jeffries <squid3 () treenet ! co ! nz>
Date: 2009-02-23 10:59:18
Message-ID: 20090223110505.28236.qmail () squid-cache ! org
[Download RAW message or body]
--===============0376275059==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------
revno: 9529
committer: Amos Jeffries <squid3@treenet.co.nz>
branch nick: trunk
timestamp: Mon 2009-02-23 23:59:18 +1300
message:
TestBed: add distcheck to tested build procedures
Also removed distclean filecount hack. With Henriks adjustments the log
is no longer in the test build directory.
modified:
test-suite/buildtest.sh
--===============0376275059==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; name="r9529.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
=== modified file 'test-suite/buildtest.sh'
--- a/test-suite/buildtest.sh 2009-02-11 12:23:03 +0000
+++ b/test-suite/buildtest.sh 2009-02-23 10:59:18 +0000
@@ -21,9 +21,8 @@
#
# empty all the existing code, reconfigure and builds test code
# but skip if we have no files to remove.
-# AYJ: 1 because we already created the build log
FILECOUNT=`ls -1 | grep -c .`
-if test "$FILECOUNT" != "1" ; then
+if test "$FILECOUNT" != "0" ; then
make -k distclean || echo "distclean done. errors are unwanted but okay here."
fi
@@ -33,6 +32,7 @@
rm -f -r src/fs/aufs/.deps src/fs/diskd/.deps &&
$base/../configure --silent ${OPTS} 2>&1 &&
make check 2>&1 &&
+ make distcheck 2>&1 &&
make 2>&1
# do not build any of the install's ...
--===============0376275059==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic