[arch-commits] Commit in pari/trunk (PKGBUILD pari-rnfdisc.patch)

Antonio Rojas arojas at archlinux.org
Wed May 12 20:29:10 UTC 2021


    Date: Wednesday, May 12, 2021 @ 20:29:10
  Author: arojas
Revision: 932647

Run test suite

Modified:
  pari/trunk/PKGBUILD
  pari/trunk/pari-rnfdisc.patch

--------------------+
 PKGBUILD           |    5 +++--
 pari-rnfdisc.patch |   18 +++++++++++++++++-
 2 files changed, 20 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-12 20:05:52 UTC (rev 932646)
+++ PKGBUILD	2021-05-12 20:29:10 UTC (rev 932647)
@@ -15,11 +15,12 @@
             'pari-galdata: to compute Galois groups in degrees 8 through 11'
             'pari-seadata: needed by ellap for large primes'
             'pari-galpol: GALPOL database of polynomials defining Galois extensions of the rationals')
+checkdepends=(pari-elldata pari-galdata pari-seadata pari-galpol)
 source=("https://pari.math.u-bordeaux.fr/pub/pari/unix/$pkgname-$pkgver.tar.gz"{,.asc}
          pari-rnfdisc.patch)
 sha256sums=('81ecf7d70ccdaae230165cff627c9ce2ec297b8f22f9f40742279d85f86dfcb1'
             'SKIP'
-            '4ddd27fa348d5c00b9a668c1122461488ad719ad31a397ed9b49fb14f6599d94')
+            '9370724f2810b6763b308406437b0068d4a83d9839fd4f593b99755744ac214a')
 validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387')
 
 prepare() {
@@ -48,7 +49,7 @@
 
 check() {
   cd $pkgname-$pkgver
-  make bench
+  make test-all
 }
 
 package() {

Modified: pari-rnfdisc.patch
===================================================================
--- pari-rnfdisc.patch	2021-05-12 20:05:52 UTC (rev 932646)
+++ pari-rnfdisc.patch	2021-05-12 20:29:10 UTC (rev 932647)
@@ -16,4 +16,20 @@
    pol = nfX_to_monic(nf, pol, NULL);
    fa = idealfactor_partial(nf, disc, lim);
    P = gel(fa,1); l = lg(P);
-
+diff --git a/src/test/32/rnf b/src/test/32/rnf
+index 6bd4585..d24e1ce 100644 (file)
+--- a/src/test/32/rnf
++++ b/src/test/32/rnf
+@@ -832,9 +832,9 @@ error("inconsistent dimensions in idealtwoelt.")
+ 0
+ 0
+ 1
+-[[7361, 3786, 318, 5823; 0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1], [-3, 6, -2, 0]
+-~]
+-[2, -1]
++[[433, 322, 318, 1318/17; 0, 1, 0, 12/17; 0, 0, 1, 5/17; 0, 0, 0, 1/17], [25
++/17, -12/17, 12/17, 16/17]~]
++[1, -1]
+   ***   at top-level: rnfdedekind(nf,P,pr2,1)
+   ***                 ^-----------------------
+   *** rnfdedekind: sorry, Dedekind in the difficult case is not yet implemented.



More information about the arch-commits mailing list