From 16adba3f4975bfc643794f1018b5ec90a9d1023d Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Mon, 23 Feb 2009 23:59:18 +1300 Subject: [PATCH] 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. --- test-suite/buildtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ... -- 2.47.3