1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
Description: conditionally skip tests which need internet access
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2023-02-03
--- a/t/match.t
+++ b/t/match.t
@@ -7,6 +7,8 @@
my $pkg;
BEGIN {
+ plan skip_all => "Unset NO_NETWORK to enable this test" if $ENV{NO_NETWORK};
+
$pkg = 'Catmandu::Fix::aat_match';
use_ok $pkg;
}
--- a/t/search.t
+++ b/t/search.t
@@ -7,6 +7,8 @@
my $pkg;
BEGIN {
+ plan skip_all => "Unset NO_NETWORK to enable this test" if $ENV{NO_NETWORK};
+
$pkg = 'Catmandu::Fix::aat_search';
use_ok $pkg;
}
--- a/t/store.t
+++ b/t/store.t
@@ -7,6 +7,8 @@
my $pkg;
BEGIN {
+ plan skip_all => "Unset NO_NETWORK to enable this test" if $ENV{NO_NETWORK};
+
$pkg = 'Catmandu::Store::AAT';
use_ok $pkg;
}
|