From 245d082496e7e768c4a9b3c380109f093cf7c681 Mon Sep 17 00:00:00 2001 From: Nikita Shubin <maquefel@gmail.com> Date: Sun, 28 Jul 2019 14:23:25 +0300 Subject: [PATCH] bisect: rebuild all and do tests/bisect.expect --- bisect.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bisect.sh 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) -- 2.30.2