From 2652998aba27dee033319de768c010e6336393a2 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sun, 28 Apr 2019 19:52:59 +0100 Subject: [PATCH] make the snmplabs test only run when AUTHOR_TESTING is set --- xt/10_remote_snmplabs.t | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xt/10_remote_snmplabs.t b/xt/10_remote_snmplabs.t index e6463533..168823ef 100644 --- a/xt/10_remote_snmplabs.t +++ b/xt/10_remote_snmplabs.t @@ -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;