Skip to content

Commit

Permalink
Run on-line tests when automated testing
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Mar 14, 2019
1 parent d8b6bf0 commit db96867
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile.PL
Expand Up @@ -111,6 +111,10 @@ sub are_online
Timeout => 5
);
if($s) {
if($ENV{'AUTOMATED_TESTING'}) {
close($s);
return 1;
}
print <<EOF;
You appear to be directly connected to the Internet. I have some tests
Expand Down

0 comments on commit db96867

Please sign in to comment.