Instead of only testing until a patch series fails, we should test every
patch. This provides more information, and does not seriously harm the
output. To take advantage of this, we also have to modify our check for
"base commit failed but it is fixed in the first patch". We simply say
that the base commit failed and is fixed as long as the series has no
failures.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
fi
n=0
+series_failed_bisect=
while [ "$n" -lt "$patch_cnt" ]; do
formail +$n -1 -s < "$mbox" > "$tmp_mbox"
compile_patch "$tmp_mbox" "$stdout_log" "$stderr_log"
printf "\n\n"
fi
build_failure "$defconfig_orig" "HEAD" "patch #$n"< "$stderr_log"
- exit 0
+ series_failed_bisect="yes"
fi
done
-if [ -n "$base_commit_failed" ]; then
- printf "%s\n" "Base commit build failed, but the first patch fixed the build failure."
+if [ -n "$base_commit_failed" ] && [ -z "$series_failed_bisect" ]; then
+ printf "%s\n" "Base commit build failed, but the series fixed the build failure."
fi