diff options
author | Florian Ragwitz <rafl@debian.org> | 2010-09-03 01:12:17 +0200 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-09-03 01:20:47 +0200 |
commit | c064d6c6600a09556bae5adafca518fb4e6da98a (patch) | |
tree | ffc648099a8cc0483c27e9592b37655008e4c6cd /dist/bignum/t/bninfnan.t | |
parent | 9dc8ab6efae84d4eaf80f7e1c91f2d2d89ba516b (diff) | |
download | perl-c064d6c6600a09556bae5adafca518fb4e6da98a.tar.gz |
blead is upstream for bignum
Diffstat (limited to 'dist/bignum/t/bninfnan.t')
-rw-r--r-- | dist/bignum/t/bninfnan.t | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dist/bignum/t/bninfnan.t b/dist/bignum/t/bninfnan.t new file mode 100644 index 0000000000..fbadb068b9 --- /dev/null +++ b/dist/bignum/t/bninfnan.t @@ -0,0 +1,39 @@ +#!/usr/bin/perl -w + +############################################################################### + +use Test; +use strict; + +BEGIN + { + $| = 1; + my $location = $0; $location =~ s/bninfnan.t//i; + if ($ENV{PERL_CORE}) + { + #@INC = qw(../lib ../lib/bignum/t); # testing with the core distribution + } + else + { + unshift @INC, '../lib'; # for testing manually + } + if (-d 't') + { + chdir 't'; + require File::Spec; + unshift @INC, File::Spec->catdir(File::Spec->updir, $location); + } + else + { + unshift @INC, $location; + } + print "# INC = @INC\n"; + plan tests => 26; + } + +use bignum; + +my ($x); + +require "infnan.inc"; + |