From 8413aeaec4db2a4328ca6389ea776a84cfce470d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Wed, 17 Jul 2019 00:00:00 +0000 Subject: [PATCH] bisect-gem5-linux-boot: stop bisect run if build fails --- bisect-gem5-linux-boot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bisect-gem5-linux-boot b/bisect-gem5-linux-boot index e11c5e4..263af3d 100755 --- a/bisect-gem5-linux-boot +++ b/bisect-gem5-linux-boot @@ -2,8 +2,8 @@ # https://cirosantilli.com/linux-kernel-module-cheat#bisection set -eu root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" -"${root_dir}/build-gem5" --arch aarch64 --gem5-worktree bisect --clean -"${root_dir}/build-gem5" --arch aarch64 --gem5-worktree bisect +"${root_dir}/build-gem5" --arch aarch64 --gem5-worktree bisect --clean || exit 255 +"${root_dir}/build-gem5" --arch aarch64 --gem5-worktree bisect || exit 255 set +e # Setup for quick failures: # https://stackoverflow.com/questions/4713088/how-to-use-git-bisect/22592593#22592593