diff --git a/t/00-load.t b/t/00-load.t index 37d7d637b..e4969e2a8 100755 --- a/t/00-load.t +++ b/t/00-load.t @@ -2,6 +2,7 @@ use v6; use Test; +BEGIN plan :skip-all unless '.git'.IO.e; plan 1; diff --git a/t/meta.t b/t/meta.t index 9334aa46b..4bc774f65 100755 --- a/t/meta.t +++ b/t/meta.t @@ -1,11 +1,11 @@ #!/usr/bin/env perl6 use v6; - use lib 'lib'; use Test; -use Test::META; +BEGIN plan :skip-all unless '.git'.IO.e; +use Test::META; meta-ok; done-testing; diff --git a/t/pod-convenience.t b/t/pod-convenience.t index 7a7aa2ab5..210bbf42d 100755 --- a/t/pod-convenience.t +++ b/t/pod-convenience.t @@ -1,10 +1,11 @@ #!/usr/bin/env perl6 use v6; -use Test; use lib 'lib'; -use Pod::Convenience; +use Test; +BEGIN plan :skip-all unless '.git'.IO.e; +use Pod::Convenience; plan 10; subtest { diff --git a/t/pod-htmlify.t b/t/pod-htmlify.t index f08a2062e..72ada3176 100755 --- a/t/pod-htmlify.t +++ b/t/pod-htmlify.t @@ -3,6 +3,7 @@ use v6; use Test; use lib 'lib'; +BEGIN plan :skip-all unless '.git'.IO.e; use File::Temp; BEGIN { diff --git a/t/pod-valid.t b/t/pod-valid.t index 161cbe6d5..04c34c50b 100755 --- a/t/pod-valid.t +++ b/t/pod-valid.t @@ -1,8 +1,10 @@ #!/usr/bin/env perl6 use v6; -use Test; use lib 'lib'; +use Test; +BEGIN plan :skip-all unless '.git'.IO.e; + use Test-Files; =begin overview diff --git a/t/pod6.t b/t/pod6.t index 2a0e095b2..501e307b5 100755 --- a/t/pod6.t +++ b/t/pod6.t @@ -1,8 +1,10 @@ #!/usr/bin/env perl6 use v6; -use Test; use lib 'lib'; +use Test; +BEGIN plan :skip-all unless '.git'.IO.e; + use Test-Files; my @files = Test-Files.files; diff --git a/t/tabs.t b/t/tabs.t index 309f2fe1f..d4b1eaee5 100755 --- a/t/tabs.t +++ b/t/tabs.t @@ -1,8 +1,9 @@ #!/usr/bin/env perl6 use v6; -use Test; use lib 'lib'; +use Test; +BEGIN plan :skip-all unless '.git'.IO.e; use Test-Files; my @files = Test-Files.files\