Created
April 27, 2017 20:43
-
-
Save dcci/891cd98d80b1b95352a407d80914f7cf to your computer and use it in GitHub Desktop.
git bisect run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# git bisect start | |
# git bisect good <rev> | |
# git bisect bad <rev> | |
# git bisect run [script] | |
cd /home/davide/work/llvm-monorepo/build | |
ninja opt lli || exit 125 #125 tells git-bisect to skip | |
ulimit -t 5 && /home/davide/work/llvm-monorepo/build/bin/opt /home/davide/work/llvm-monorepo/build/bin/foo.ll -O3 | /home/davide/work/llvm-monorepo/build/bin/lli | |
[[ $? == 0 ]] && exit 0 | |
exit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment