Git bisect and Perl

Posted on August 9, 2017. Filed under: Uncategorized | Tags: , , , , |

Git bisect and Perl

git bisect run treats certain exit values specially: 125 means the code cannot be tested, and 128 or higher will abort the bisect process. If Perl throws an exception it exits with 255 (instead of 0 for a pass and 1 for a test fail), aborting the bisect altogether.

To fix this, wrap the call to t/foo.t in a shell script which caps the return value of the test script at 127:

via reddit

Liked it here?
Why not try sites on the blogroll...