From: Jacob Keller Date: Mon, 8 Sep 2014 23:55:08 +0000 (-0700) Subject: aiaiai: test all patches when testing bisection X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1f7a45b8a148056606cadc7281c4926bb80a6a4c;p=users%2Fdedekind%2Faiaiai.git aiaiai: test all patches when testing bisection 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 --- diff --git a/helpers/aiaiai-test-bisectability b/helpers/aiaiai-test-bisectability index 66d5cc5..b5e0f43 100755 --- a/helpers/aiaiai-test-bisectability +++ b/helpers/aiaiai-test-bisectability @@ -251,6 +251,7 @@ if build_failed "$base_stderr_log"; then 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" @@ -264,10 +265,10 @@ while [ "$n" -lt "$patch_cnt" ]; do 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