[Gmp-commit] /var/hg/gmp-proj/mini-gmp: Added missing calls to abort.

mercurial at gmplib.org mercurial at gmplib.org
Sat Jan 14 00:25:00 CET 2012


details:   /var/hg/gmp-proj/mini-gmp/rev/e1a604332735
changeset: 79:e1a604332735
user:      Niels M?ller <nisse at lysator.liu.se>
date:      Sat Jan 14 00:24:54 2012 +0100
description:
Added missing calls to abort.

diffstat:

 tests/t-scan.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 1567c30cce3e -r e1a604332735 tests/t-scan.c
--- a/tests/t-scan.c	Fri Jan 13 23:37:40 2012 +0100
+++ b/tests/t-scan.c	Sat Jan 14 00:24:54 2012 +0100
@@ -37,6 +37,7 @@
 	  fprintf (stderr, "b: %lu\n", b);
 	  fprintf (stderr, "r: %lu\n", res);
 	  fprintf (stderr, "ref: %lu\n", ref);
+	  abort ();
 	}
       mini_random_scan_op (OP_SCAN1, MAXBITS, a, &b, &ref);
       res = mpz_scan1 (a, b);
@@ -47,6 +48,7 @@
 	  fprintf (stderr, "b: %lu\n", b);
 	  fprintf (stderr, "r: %lu\n", res);
 	  fprintf (stderr, "ref: %lu\n", ref);
+	  abort ();
 	}
     }
   mpz_clear (a);


More information about the gmp-commit mailing list