From: Amos Jeffries Date: Mon, 23 Feb 2009 10:59:18 +0000 (+1300) Subject: TestBed: add distcheck to tested build procedures X-Git-Tag: SQUID_3_2_0_1~1167 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16adba3f4975bfc643794f1018b5ec90a9d1023d;p=thirdparty%2Fsquid.git 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. --- diff --git a/test-suite/buildtest.sh b/test-suite/buildtest.sh index 69c2f4369b..395d496683 100755 --- a/test-suite/buildtest.sh +++ b/test-suite/buildtest.sh @@ -21,9 +21,8 @@ fi # # 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 @@ fi 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 ...