1N/A#!/usr/bin/perl -w
1N/A
1N/A###############################################################################
1N/A
1N/Ause Test;
1N/Ause strict;
1N/A
1N/ABEGIN
1N/A {
1N/A $| = 1;
1N/A my $location = $0; $location =~ s/biinfnan.t//i;
1N/A if ($ENV{PERL_CORE})
1N/A {
1N/A @INC = qw(../lib ../lib/bignum/t); # testing with the core distribution
1N/A }
1N/A else
1N/A {
1N/A unshift @INC, '../lib'; # for testing manually
1N/A }
1N/A if (-d 't')
1N/A {
1N/A chdir 't';
1N/A require File::Spec;
1N/A unshift @INC, File::Spec->catdir(File::Spec->updir, $location);
1N/A }
1N/A else
1N/A {
1N/A unshift @INC, $location;
1N/A }
1N/A print "# INC = @INC\n";
1N/A plan tests => 26;
1N/A }
1N/A
1N/Ause bignum;
1N/A
1N/Amy ($x);
1N/A
1N/Arequire "infnan.inc";
1N/A