[Libreoffice-commits] .: bin/tinbuild

Jan Holesovsky kendy at kemper.freedesktop.org
Wed Nov 3 15:29:20 PDT 2010


 bin/tinbuild |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

New commits:
commit 6e5dc9dca03eaa7d33fbffc281a02032117e5a03
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Wed Nov 3 14:09:07 2010 +0100

    Run smoketest in tinbuild too.

diff --git a/bin/tinbuild b/bin/tinbuild
index 752c81a..a2bc139 100755
--- a/bin/tinbuild
+++ b/bin/tinbuild
@@ -147,15 +147,15 @@ while true; do
 		reportError committer `printf "download failed - error is:\n\n$err_msg"`
 	elif ! $NICE make dev-install >build.log 2>&1 ; then
 		reportError committer `printf "building failed - error is:\n\n"` "$(tail -n100 build.log)"
+	elif ! make smoketest > smoketest.log 2>&1 ; then
+		reportError committer `printf "smoketest failed - error is:\n\n"` "$(tail -n100 smoketest.log)"
 	else
 		echo build done
 		cp build.log build/
+		cp smoketest.log build/
 		gitHeads > build/git-heads.txt
 
 		prev_success=$last_success
-
-		# successful build, maybe do a smoketest/first.bas?
-
 		last_success=$rough_checkout_date
 		mv build "build-$last_success" ||
 		{
@@ -169,7 +169,12 @@ while true; do
 		fi
 	fi
 
-	mv build.log "build-previous.log"
+	if [ -d build ] ; then
+		mv build.log build/
+		mv smoketest.log build/
+		rm -rf build.failed
+		mv build build.failed
+	fi
 
 	echo updating repo
 


More information about the Libreoffice-commits mailing list