chdir 't' if -d 't';
@INC = '../lib';
}
-require "bigint.pl";
+
+{
+ # Silence the deprecation warnings from bigint.pl for the purpose
+ # of testing. These tests will be removed along with bigint.pl in
+ # the next major release of perl.
+ local $SIG{__WARN__} = sub {
+ if ($_[0] !~ /will be removed from the Perl core distribution/) {
+ print(STDERR @_);
+ }
+ };
+ require "bigint.pl";
+}
$test = 0;
$| = 1;