Skip to content

Commit

Permalink
Fix bisect bugs and ease debugging by generating complete shell scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmatht committed Aug 28, 2013
1 parent 9b94677 commit efcea2d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions mygit-bisect.sh
Expand Up @@ -165,8 +165,16 @@ DISPLAY=:$D xwininfo -root > /dev/null 2> /dev/null ||
git checkout po/
git bisect start
git bisect good 2.0.0
git bisect bad HEAD
DISPLAY=:$D LYX_NO_BACKTRACE_HELPER="y" git bisect run "$KT/mygit-runner.sh" $TEST_COMMAND
#git bisect bad HEAD
git bisect bad 0b6edb0b2fb3773af8506a17ddcadf219dfc7e5b
echo '#!/bin/bash
export PATH=/usr/lib/ccache/:$PATH
git checkout po/
(./autogen.sh && ./configure && nice make -j3) || exit 125
./git_keytest.sh' > git_run.sh
echo sudo -H -u ./git_altuser.sh > ./git_keytest.sh
echo DISPLAY=:$D LYX_NO_BACKTRACE_HELPER="y" sudo -H -u "$BISECT_AS_USER" "$KT/doNtimes.sh" $count $TEST_COMMAND > ./git_altuser.sh
chmod +x git_run.sh git_keytest.sh ./git_altuser.sh
) #2>&1 | tee $KEYCODEpure.full_bisect_log
Expand Down

0 comments on commit efcea2d

Please sign in to comment.