File: 200-lib.t

package info (click to toggle)
libtest-compile-perl 1.0.1-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 252 kB
  • sloc: perl: 516; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 410 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!perl -w

use strict;
use warnings;

use Test::Compile;

use Test::More ;
plan skip_all => "Distribution hasn't been built yet" unless -d "blib/lib";

# lib.pl has a dodgy begin block which messes with @INC.
# - that should force it to *only* look in blib/lib for
#   modules.. but it should still compile. See rt72557
#   for more details.
pl_file_ok('t/scripts/lib.pl', 'lib.pl compiles');

done_testing();