summaryrefslogtreecommitdiff
path: root/abe-bisect.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abe-bisect.sh')
-rwxr-xr-xabe-bisect.sh29
1 files changed, 23 insertions, 6 deletions
diff --git a/abe-bisect.sh b/abe-bisect.sh
index c93a77ba..5d8ec4d0 100755
--- a/abe-bisect.sh
+++ b/abe-bisect.sh
@@ -87,15 +87,24 @@ fi
# Sanity checks on the number of passes/fails in GOOD and BAD
pushd ${rundir} || exit
+
+${ABE}/abe.sh --target ${TARGET} \
+ gcc=gcc.git@${GOODSHA1} \
+ ${GCC_OVERRIDE_CONFIGURE} \
+ --build all &> gcc-${GOODSHA1}.log
+if [ $? -ne 0 ]; then
+ echo "ERROR: failure while building GOOD ($GOODGIT}" | tee -a $MAILBODY
+ exit 1
+fi
${ABE}/abe.sh --target ${TARGET} \
gcc=gcc.git@${GOODSHA1} \
--set runtestflags="${EXP}=${TESTNAME}" \
${GCC_OVERRIDE_CONFIGURE} \
- --build all \
+ --disable parallel \
--check gcc \
- --excludecheck gdb >& gcc-${GOODSHA1}.log
+ --excludecheck gdb &>> gcc-${GOODSHA1}.log
if [ $? -ne 0 ]; then
- echo "ERROR: failure while building/testing GOOD ($GOODGIT}" | tee -a $MAILBODY
+ echo "ERROR: failure while testing GOOD ($GOODGIT}" | tee -a $MAILBODY
exit 1
fi
@@ -105,13 +114,21 @@ good_nb_pass=$(cat $goodsums | grep -wc PASS)
${ABE}/abe.sh --target ${TARGET} \
gcc=gcc.git@${BADSHA1} \
+ ${GCC_OVERRIDE_CONFIGURE} \
+ --build all &> gcc-${BADSHA1}.log
+if [ $? -ne 0 ]; then
+ echo "ERROR: failure while building BAD ($BADGIT}" | tee -a $MAILBODY
+ exit 1
+fi
+${ABE}/abe.sh --target ${TARGET} \
+ gcc=gcc.git@${BADSHA1} \
--set runtestflags="${EXP}=${TESTNAME}" \
${GCC_OVERRIDE_CONFIGURE} \
- --build all \
+ --disable parallel \
--check gcc \
- --excludecheck gdb >& gcc-${BADSHA1}.log
+ --excludecheck gdb &>> gcc-${BADSHA1}.log
if [ $? -ne 0 ]; then
- echo "ERROR: failure while building/testing BAD ($BADGIT}" | tee -a $MAILBODY
+ echo "ERROR: failure while testing BAD ($BADGIT}" | tee -a $MAILBODY
exit 1
fi