mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
bisect-gem5-linux-boot: stop bisect run if build fails
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
# https://cirosantilli.com/linux-kernel-module-cheat#bisection
|
# https://cirosantilli.com/linux-kernel-module-cheat#bisection
|
||||||
set -eu
|
set -eu
|
||||||
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
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 --clean || exit 255
|
||||||
"${root_dir}/build-gem5" --arch aarch64 --gem5-worktree bisect
|
"${root_dir}/build-gem5" --arch aarch64 --gem5-worktree bisect || exit 255
|
||||||
set +e
|
set +e
|
||||||
# Setup for quick failures:
|
# Setup for quick failures:
|
||||||
# https://stackoverflow.com/questions/4713088/how-to-use-git-bisect/22592593#22592593
|
# https://stackoverflow.com/questions/4713088/how-to-use-git-bisect/22592593#22592593
|
||||||
|
|||||||
Reference in New Issue
Block a user