changeset 1361:1ce33f5b5fec

Make bisectinate actually use the LONG=1 test.
author Rob Landley <rob@landley.net>
date Tue, 24 May 2011 02:00:52 -0500
parents d51e7c7a35a6
children 9d7c03814309
files more/bisectinate.sh
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/more/bisectinate.sh	Tue May 24 02:00:11 2011 -0500
+++ b/more/bisectinate.sh	Tue May 24 02:00:52 2011 -0500
@@ -55,7 +55,7 @@
 
 if [ "$PKG" == linux ] && [ -e "$BUILD/root-filesystem-$ARCH".tar.bz2 ]
 then
-  ZAPJUST=system-image
+  ZAPJUST=linux-kernel
 elif [ "$PKG" == busybox ] &&
      [ -e "$BUILD/simple-cross-compiler-$ARCH.tar.bz2" ]
 then
@@ -66,7 +66,8 @@
 
 # If we need to build dropbear, make sure the control images exist.
 
-[ ! -z "$LONG" ] && more/build-control-images.sh
+[ ! -z "$LONG" ] && [ ! -e build/control-images/static-tools.hdc ] &&
+  more/build-control-images.sh
 
 # Initialize bisection repository
 
@@ -121,7 +122,8 @@
   if [ -e "$BUILD"/system-image-"$ARCH".tar.bz2 ]
   then
     set -o pipefail
-    more/timeout.sh 60 "$@" 2>&1 | tee -a "$BUILD/logs/bisectinate-$ARCH".txt
+    ARCH="$ARCH" more/timeout.sh 60 "$TEST" 2>&1 | \
+      tee -a "$BUILD/logs/bisectinate-$ARCH".txt
     [ $? -eq 0 ] && RESULT=good
   fi