This is an automated email from the git hooks/post-receive script.

ppm-guest pushed a commit to annotated tag v0.17
in repository libmath-prime-util-perl.

commit 87f158518074b0948e242bdc7dd68b76bca05bd6
Author: Dana Jacobsen <d...@acm.org>
Date:   Mon Dec 17 09:04:45 2012 -0800

    Speed up Travis CI
---
 .travis.yml      | 5 +++--
 t/22-aks-prime.t | 8 ++++++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 49e3baa..dec2518 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,10 @@
 language: "perl"
 perl:
   - "5.16"
-  - "5.14"
-  - "5.12"
   - "5.10"
+# There is little reason to have travis run multiple Perls.
+#  - "5.14"
+#  - "5.12"
 
 before_script:
 #    - sudo apt-get install libgmp3-dev
diff --git a/t/22-aks-prime.t b/t/22-aks-prime.t
index 040199f..b736a58 100644
--- a/t/22-aks-prime.t
+++ b/t/22-aks-prime.t
@@ -7,6 +7,7 @@ use Math::Prime::Util qw/is_aks_prime/;
 
 my $use64 = Math::Prime::Util::prime_get_config->{'maxbits'} > 32;
 my $extra = defined $ENV{RELEASE_TESTING} && $ENV{RELEASE_TESTING};
+my $ispp = !Math::Prime::Util::prime_get_config->{xs};
 my $broken64 = (18446744073709550592 == ~0);
 
 plan tests =>   6   # range
@@ -33,8 +34,11 @@ is( is_aks_prime(877), 1, "is_aks_prime(877) is true" );
 
 #diag "Unfortunately these tests are very slow.";
 
-# The first number that makes it past the sqrt test to actually run.
-is( is_aks_prime(69197), 1, "is_aks_prime(69197) is true" );
+SKIP: {
+  skip "Skipping PP AKS on 32-bit -- just too slow.", 1 if $ispp && !$use64;
+  # The first number that makes it past the sqrt test to actually run.
+  is( is_aks_prime(69197), 1, "is_aks_prime(69197) is true" );
+}
 
 # A small composite that runs the real primality test.
 is( is_aks_prime(69199), 0, "is_aks_prime(69199) is false" );

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to