[libmath-prime-util-perl] 17/18: Move a couple of the bigger primality proofs to RELEASE_TESTING -- slow without GMP
Partha P. Mukherjee
ppm-guest at moszumanska.debian.org
Thu May 21 18:48:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
ppm-guest pushed a commit to annotated tag v0.26
in repository libmath-prime-util-perl.
commit 1cc788d9526403b537b7a620794da6617e7ef19c
Author: Dana Jacobsen <dana at acm.org>
Date: Sun Apr 21 11:28:24 2013 -0700
Move a couple of the bigger primality proofs to RELEASE_TESTING -- slow without GMP
---
t/81-bignum.t | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/t/81-bignum.t b/t/81-bignum.t
index 3322521..dc02569 100644
--- a/t/81-bignum.t
+++ b/t/81-bignum.t
@@ -292,7 +292,7 @@ sub check_pcbounds {
###############################################################################
# Provable primes
-{
+SKIP: {
my @proof;
@proof = (20907001, "Pratt", [ 2,
@@ -315,6 +315,9 @@ sub check_pcbounds {
[ 2, 2, 2, 2, 2 ]);
ok( verify_prime(@proof), "simple n-1 proof verified" );
+ skip "Skipping bigger proofs without fast BigInt library", 3
+ if $bigintlib !~ /^(GMP|Pari)/;
+
@proof = ('6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151', 'n-1',
[ 2,3,5,11,17,31,41,53,131,157,521,1613,61681,8191,42641,858001,51481, '7623851', '308761441' ],
[ 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3 ] );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git
More information about the Pkg-perl-cvs-commits
mailing list