make the snmplabs test only run when AUTHOR_TESTING is set

This commit is contained in:
Oliver Gorwits
2019-04-28 19:52:59 +01:00
parent 254bfd11a3
commit 2652998aba

View File

@@ -1,5 +1,12 @@
#!/usr/bin/env perl
BEGIN {
unless ($ENV{AUTHOR_TESTING}) {
require Test::More;
Test::More::plan(skip_all => 'these tests require online access to be confirmed');
}
}
use strict;
use warnings;