From 08c698cae59f8f0075e73fb7b69677b58c8ed38b Mon Sep 17 00:00:00 2001 From: tridge Date: Thu, 14 Jul 2005 03:29:09 +0000 Subject: [PATCH] try to get the svn build revision to show up in all trees, not just those with magic stuff in configure git-svn-id: file:///home/svn/build-farm/trunk@192 1e5ffdc8-eadd-0310-9daa-9cb4117fe24b --- build_test.fns | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build_test.fns b/build_test.fns index 1662396..47bb4d9 100644 --- a/build_test.fns +++ b/build_test.fns @@ -59,6 +59,8 @@ fetch_tree() { echo "transfer of $tree failed code $?" return 1 fi + rsync -q --timeout=200 -clpz --ignore-errors \ + samba.org::ftp/unpacked/$tree/.svn/entries $test_root/$tree/.svn_entries fi return 0 } @@ -457,11 +459,19 @@ test_tree() { echo "Building timelimit" $compiler $TIMELIMIT_FLAGS -o $srcdir/timelimit $test_root/timelimit.c || exit 1 + if [ -r $test_root/$tree/.svn_entries ]; then + rev=`grep revision= $test_root/$tree/.svn_entries | cut -d'"' -f2` + if [ -n "$rev" ]; then + echo "BUILD REVISION: $rev" + fi + fi + for action in $actions; do echo Running action $action date + cd $srcdir export srcdir df . -- 2.34.1