File: 99-test-distro.t

package info (click to toggle)
libfile-finder-perl 0.53-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 148 kB
  • sloc: perl: 985; sh: 3; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! perl
use Test::More;

BEGIN {
  eval { require Test::Distribution };
  plan 'skip_all' => 'Test::Distribution not installed' if $@;
}

$ENV{TEST_VERBOSE}
  or plan 'skip_all' => 'Distribution tests selected only in verbose mode';

Test::Distribution->import;
diag "package: $_" for Test::Distribution::packages();
diag "file: $_" for Test::Distribution::files();