Created
November 5, 2016 18:08
-
-
Save MARTIMM/4376afd9877173443bdbd260e84a8f02 to your computer and use it in GitHub Desktop.
test infinetly until fail
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
#!/usr/bin/env perl6 | |
use v6.c; | |
sub MAIN ( Str:D $filename where (.IO ~~ :r and .IO !~~ :d) ) { | |
my Proc $p; | |
my Bool $success = True; | |
while $success { | |
$p = shell "prove --merge -v -e perl6 $filename"; | |
$success = $p.exitcode eq 0; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment