From cbed6ecd2be9849aae900ef17070d7bd2aa9542c Mon Sep 17 00:00:00 2001
From: "Christian Goetze (CG)" <cg@lindenlab.com>
Date: Wed, 15 Sep 2010 11:36:11 -0700
Subject: [PATCH] Place test service messages into their own block.

---
 build.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index b2b0433d05..39bd7aa53f 100755
--- a/build.sh
+++ b/build.sh
@@ -222,7 +222,10 @@ do
       fi
     else
       begin_section "Build$variant"
-      build "$variant" "$build_dir" 2>&1 | tee -a "$build_log" | grep --line-buffered "^##teamcity"
+      build "$variant" "$build_dir" > "$build_log" 2>&1
+      begin_section Tests
+      grep --line-buffered "^##teamcity" "$build_log"
+      end_section Tests
       if `cat "$build_dir/build_ok"`
       then
         echo so far so good.
@@ -257,7 +260,9 @@ then
     else
       record_failure "Parallel build of \"$variant\" failed."
     fi
+    begin_section Tests
     tee -a $build_log < "$build_dir/build.log" | grep --line-buffered "^##teamcity"
+    end_section Tests
     end_section "Build$variant"
   done
   end_section WaitParallel
-- 
GitLab