[Gmp-commit] /var/hg/gmp: Exit main() properly.

mercurial at gmplib.org mercurial at gmplib.org
Tue May 12 20:43:20 UTC 2020


details:   /var/hg/gmp/rev/9cfabe16c3b4
changeset: 18071:9cfabe16c3b4
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Tue May 12 22:43:17 2020 +0200
description:
Exit main() properly.

diffstat:

 tests/mpn/t-gcd_11.c   |  3 +++
 tests/mpn/t-gcd_22.c   |  3 +++
 tests/mpn/t-gcdext_1.c |  3 +++
 3 files changed, 9 insertions(+), 0 deletions(-)

diffs (33 lines):

diff -r 6ae1ba258b33 -r 9cfabe16c3b4 tests/mpn/t-gcd_11.c
--- a/tests/mpn/t-gcd_11.c	Tue Apr 28 15:27:23 2020 +0200
+++ b/tests/mpn/t-gcd_11.c	Tue May 12 22:43:17 2020 +0200
@@ -80,4 +80,7 @@
 
   mpz_clear (a);
   mpz_clear (b);
+
+  tests_end ();
+  return 0;
 }
diff -r 6ae1ba258b33 -r 9cfabe16c3b4 tests/mpn/t-gcd_22.c
--- a/tests/mpn/t-gcd_22.c	Tue Apr 28 15:27:23 2020 +0200
+++ b/tests/mpn/t-gcd_22.c	Tue May 12 22:43:17 2020 +0200
@@ -81,4 +81,7 @@
   mpz_clear (a);
   mpz_clear (b);
   mpz_clear (ref);
+
+  tests_end ();
+  return 0;
 }
diff -r 6ae1ba258b33 -r 9cfabe16c3b4 tests/mpn/t-gcdext_1.c
--- a/tests/mpn/t-gcdext_1.c	Tue Apr 28 15:27:23 2020 +0200
+++ b/tests/mpn/t-gcdext_1.c	Tue May 12 22:43:17 2020 +0200
@@ -128,4 +128,7 @@
 
   mpz_clear (a);
   mpz_clear (b);
+
+  tests_end ();
+  return 0;
 }


More information about the gmp-commit mailing list