Skip to content
Browse files

Added helper script for git bisect

  • Loading branch information...
1 parent fb29ef4 commit 627a3a32c6125ad7818a5440149183bf9e567ca7 Johan Tibell committed May 26, 2010
Showing with 8 additions and 0 deletions.
  1. +8 −0 tools/bisect.sh
View
8 tools/bisect.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Script that's useful when trying to find bugs (indicated by test
+# failures) using `git bisect`.
+
+cabal clean
+(cabal configure && cabal build) || exit 125 # this skips broken builds
+make -C tests clean run-tests

0 comments on commit 627a3a3

Please sign in to comment.
Something went wrong with that request. Please try again.