Permalink
Browse files

Improve example bisect code.

  • Loading branch information...
pjcj committed May 22, 2012
1 parent da274dd commit cc9924c7341d92ffd1dc9c57781d20dcc71ce4bd
Showing with 10 additions and 2 deletions.
  1. +10 −2 utils/bisect.sh
View
@@ -1,12 +1,20 @@
+#!/bin/sh -x
+
+make
+make
make clean
+cp /tmp/accessor /tmp/Accessor_maker.pm tests
+cp /tmp/accessor.5.008 test_output/cover
perl Makefile.PL
make
-make test TEST_FILES=t/e2e/aaccessor.t
-
+t=t/e2e/aaccessor.t
+[ ! -e $t ] && t=t/aaccessor.t
+make test TEST_FILES=$t
ret=$?
[ $ret -gt 127 ] && ret=127
+rm tests/accessor tests/Accessor_maker.pm test_output/cover/accessor.5.008
# exit $ret

0 comments on commit cc9924c

Please sign in to comment.