From: Nikita Shubin Date: Sun, 28 Jul 2019 11:23:25 +0000 (+0300) Subject: bisect: rebuild all and do tests/bisect.expect X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=245d082496e7e768c4a9b3c380109f093cf7c681;p=ts7250-boot-build.git bisect: rebuild all and do tests/bisect.expect --- diff --git a/bisect.sh b/bisect.sh new file mode 100755 index 0000000..d93c6a9 --- /dev/null +++ b/bisect.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# an exit code of 125 asks "git bisect" +# to "skip" the current commit +(cd .. && make clean) || exit 125 +(cd .. && make distclean) || exit 125 +(cd .. && make) || exit 125 + +# run the application and check that it produces good output +(cd .. && tests/bisect.expect)