[Ecm-commits] r2591 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Sun Feb 8 21:40:26 CET 2015


Author: zimmerma
Date: 2015-02-08 21:40:26 +0100 (Sun, 08 Feb 2015)
New Revision: 2591

Modified:
   trunk/test.ecm
   trunk/test.pm1
Log:
improve test coverage of pm1fs2.c


Modified: trunk/test.ecm
===================================================================
--- trunk/test.ecm	2015-02-08 20:21:32 UTC (rev 2590)
+++ trunk/test.ecm	2015-02-08 20:40:26 UTC (rev 2591)
@@ -91,7 +91,7 @@
 
 # check the -chkpnt option
 echo 2050449353925555290706354283 | $ECM -chkpnt test.ecm.chk -param 0 -sigma 7 30 0-1e6
-$ECM -resume test.ecm.chk -param 0 -sigma 7 30 0-1e6
+$ECM -resume test.ecm.chk 30 0-1e6
 C=$?
 /bin/rm -f test.ecm.chk
 checkcode $C 14

Modified: trunk/test.pm1
===================================================================
--- trunk/test.pm1	2015-02-08 20:21:32 UTC (rev 2590)
+++ trunk/test.pm1	2015-02-08 20:40:26 UTC (rev 2591)
@@ -120,6 +120,15 @@
 echo "2^(2^12)+1" | $PM1 -go "N-1" 1e6; checkcode $? 2
 
 # check -v option
-echo 33852066257429811148979390609187539760850944806763555795340084882048986912482949506591909041130651770779842162499482875755533111808276172876211496409325473343590723224081353129229935527059488811457730702694849036693756201766866018562295004353153066430367 | $PM1 -v 1e6; checkcode $? 0
+echo 33852066257429811148979390609187539760850944806763555795340084882048986912482949506591909041130651770779842162499482875755533111808276172876211496409325473343590723224081353129229935527059488811457730702694849036693756201766866018562295004353153066430367 | $PM1 -v 1e5; checkcode $? 0
 
+# check -v -v option
+echo 33852066257429811148979390609187539760850944806763555795340084882048986912482949506591909041130651770779842162499482875755533111808276172876211496409325473343590723224081353129229935527059488811457730702694849036693756201766866018562295004353153066430367 | $PM1 -v -v 1e5; checkcode $? 0
+
+# check -v -v -v option
+echo 33852066257429811148979390609187539760850944806763555795340084882048986912482949506591909041130651770779842162499482875755533111808276172876211496409325473343590723224081353129229935527059488811457730702694849036693756201766866018562295004353153066430367 | $PM1 -v -v -v 1e5; checkcode $? 0
+
+# check -v -v -v option with -no-ntt
+echo 33852066257429811148979390609187539760850944806763555795340084882048986912482949506591909041130651770779842162499482875755533111808276172876211496409325473343590723224081353129229935527059488811457730702694849036693756201766866018562295004353153066430367 | $PM1 -no-ntt -v -v -v 1e5; checkcode $? 0
+
 echo "All P-1 tests are ok."



More information about the Ecm-commits mailing list