diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2020-12-18 16:04:18 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2020-12-18 16:04:18 +0000 |
commit | 43b6a6a9422579ef3491269ef380401b2f1067e8 (patch) | |
tree | 60da7b81b1321c4a5e01fad62da584a17934803e | |
parent | 4654e5907304cf0aabe9522face19c35bef57679 (diff) |
abe-bisect.sh: Fix path to stage2 build dir after recent ABE changes
ABE now uses the component name to prefix the build dir,
use '*' as a convenience.
Change-Id: Iebc7a5feadcda6ee91fa5c088eaec8992f83d495
-rwxr-xr-x | abe-bisect-helper.sh | 2 | ||||
-rwxr-xr-x | abe-bisect.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/abe-bisect-helper.sh b/abe-bisect-helper.sh index 328fbe9f..76469d04 100755 --- a/abe-bisect-helper.sh +++ b/abe-bisect-helper.sh @@ -56,7 +56,7 @@ ${ABE}/abe.sh --target ${TARGET} \ --excludecheck gdb >& gcc-${REV}.log [ $? -ne 0 ] && exit 125 -sums=`find builds/*/${TARGET}/gcc.git~master_rev_${REV}-stage2/ -name "*.sum"` +sums=`find builds/*/${TARGET}/*gcc.git~master_rev_${REV}-stage2/ -name "*.sum"` nb_fail=$(cat $sums | grep -wc FAIL) [ ${nb_fail} -gt ${GOODFAIL} ] && exit 1 # More failures than GOOD, this is a bad one diff --git a/abe-bisect.sh b/abe-bisect.sh index 0a227d8c..5cab2740 100755 --- a/abe-bisect.sh +++ b/abe-bisect.sh @@ -104,7 +104,7 @@ if [ $? -ne 0 ]; then exit 1 fi -sums=`find builds/*/${TARGET}/gcc.git~master_rev_${GOODSHA1}-stage2/ -name "*.sum"` +sums=`find builds/*/${TARGET}/*gcc.git~master_rev_${GOODSHA1}-stage2/ -name "*.sum"` good_nb_fail=$(cat $sums | grep -wc FAIL) good_nb_pass=$(cat $sums | grep -wc PASS) @@ -120,7 +120,7 @@ if [ $? -ne 0 ]; then exit 1 fi -sums=`find builds/*/${TARGET}/gcc.git~master_rev_${BADSHA1}-stage2/ -name "*.sum"` +sums=`find builds/*/${TARGET}/*gcc.git~master_rev_${BADSHA1}-stage2/ -name "*.sum"` bad_nb_fail=$(cat $sums | grep -wc FAIL) bad_nb_pass=$(cat $sums | grep -wc PASS) |