File: dist-portable.t

package info (click to toggle)
libfile-util-perl 4.132140-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 792 kB
  • ctags: 155
  • sloc: perl: 3,874; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 478 bytes parent folder | download | duplicates (4)
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

use strict;
use warnings;

use Test::More;

use lib './lib';

if ( !( $ENV{RELEASE_TESTING} || $ENV{AUTHOR_TESTING} || $ENV{AUTHOR_TESTS} ) )
{
   plan skip_all => 'these tests are for testing by the author';
}
else
{
  plan skip_all => 'Test::Portability::Files needed'
     and last unless eval 'use Test::Portability::Files; 1';
}

options
(
   test_dos_length   => 0,
   test_amiga_length => 0,
   test_vms_length   => 0,
   test_one_dot      => 0,
);

run_tests();

exit;