File: 03require.t

package info (click to toggle)
libversion-perl 0.6701-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 268 kB
  • ctags: 587
  • sloc: ansic: 2,673; perl: 853; makefile: 116
file content (20 lines) | stat: -rw-r--r-- 555 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /usr/local/perl -w
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'

#########################

use Test::More qw/no_plan/;


# Don't want to use, because we need to make sure that the import doesn't
# fire just yet (some code does this to avoid importing qv()).
require_ok("version");
ok(!"main"->can("qv"), "We don't have the imported qv()");

my $Verbose;
require "t/coretests.pm";

diag "Tests with base class" if $Verbose;

BaseTests("version","no qv");