better version actually tests the pieces for success.
authorChris Koeritz <fred@gruntose.com>
Mon, 1 Apr 2013 17:10:32 +0000 (13:10 -0400)
committerChris Koeritz <fred@gruntose.com>
Mon, 1 Apr 2013 17:10:32 +0000 (13:10 -0400)
customizing/fred/build_cak0l.sh

index 0c5bfff92a9bd5f9cdb50af2c709f1a735fca711..02e206cee6a34d1d36418a6b25384d0bb79980f5 100644 (file)
@@ -1,11 +1,15 @@
 #!/bin/bash
 
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"  # for check_result.
+
 function build_xsede()
 {
   pushd ~/xsede/code/cak0l/trunk
+  check_result "entering trunk directory"
   echo "Build starting at: $(date)"
   \rm -rf unit-test-reports
   ant -Dbuild.targetArch=64 build
+  check_result "building the trunk"
   # fix memory limits.
 #hmmm: clean these up.
   if [ -f runContainer.sh ]; then
@@ -32,6 +36,7 @@ function rebuild_xsede()
 {
   pushd ~/xsede/code/cak0l/trunk
   ant clean
+  check_result "cleaning the trunk"
   popd
   build_xsede
 }