]> www.infradead.org Git - users/dedekind/aiaiai.git/commitdiff
bisectability: don't fail if base commit can't compile
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 25 Nov 2013 18:57:03 +0000 (10:57 -0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 4 Dec 2013 08:35:28 +0000 (10:35 +0200)
This makes the bisectability test only fail when it can't compile
inbetween a patch series. It is perfectly reasonable that the first
patch in the series could fix the compile issue, so we should still
check the patch for bisection issues.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
aiaiai-test-bisectability

index 8e0adb2755a4b02dad96798f54d096f32a8e1572..7c253f317ec3c852758e7ee0d0d2caf4adb93bf1 100755 (executable)
@@ -232,9 +232,8 @@ aiaiai-make-kernel $verbose -j "$jobs" -o "$objdir" $arch_opt -D "$dconf" \
        -O "$tmpdir/$defconfig.stdout.log" -E "$tmpdir/$defconfig.stderr.log" \
        ${kmake_opts:+-M "$kmake_opts"} -- "$cloned_kernel" all
 if build_failed "$tmpdir/$defconfig.stderr.log"; then
-       # Failed to build the base commit, report and exit
+       # Failed to build the base commit, report, but don't exit incase the first patch fixes the issue.
        build_failure "$defconfig" "$commit_id" < "$tmpdir/$defconfig.stderr.log"
-       exit 0
 fi
 
 n=0