summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2018-09-03 12:38:10 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2018-09-03 12:38:10 +0000
commitfaf938d3cbc2fb37fa9af3c9a0b1625a89f7a5d7 (patch)
treeab8c494d1a17d747716bde4adeae81eb5ba2ccc7
parent6563a215607019eaac471d250c7bb69d8e7dbe28 (diff)
downloadmpfr-faf938d3cbc2fb37fa9af3c9a0b1625a89f7a5d7.tar.gz
[tests/tgeneric.c] replace exit(1) by abort() to allow debugging with gdb
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13107 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--tests/tgeneric.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tgeneric.c b/tests/tgeneric.c
index 942987498..4105084b5 100644
--- a/tests/tgeneric.c
+++ b/tests/tgeneric.c
@@ -488,7 +488,7 @@ test_generic (mpfr_prec_t p0, mpfr_prec_t p1, unsigned int nmax)
flags_out (flags);
printf ("inex = %d, w = ", inexact);
mpfr_dump (w);
- exit (1);
+ abort ();
}
test_of--;
}
@@ -551,7 +551,7 @@ test_generic (mpfr_prec_t p0, mpfr_prec_t p1, unsigned int nmax)
flags_out (flags);
printf ("inex = %d, w = ", inexact);
mpfr_dump (w);
- exit (1);
+ abort ();
}
test_uf--;
}
@@ -622,7 +622,7 @@ test_generic (mpfr_prec_t p0, mpfr_prec_t p1, unsigned int nmax)
mpfr_dump (w);
printf (" inex = %d, flags =", inexact);
flags_out (flags);
- exit (1);
+ abort ();
}
}