diff options
-rw-r--r-- | tests/tsi_op.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/tsi_op.c b/tests/tsi_op.c index 84eb744b9..b40a1bd00 100644 --- a/tests/tsi_op.c +++ b/tests/tsi_op.c @@ -27,13 +27,15 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #include "mpfr-test.h" #define ERROR1(s,i,z,exp) \ - { \ - printf ("Error for " s " and i=%d\n", i); \ - printf ("Expected %s\n", exp); \ - printf ("Got "); mpfr_out_str (stdout, 16, 0, z, MPFR_RNDN); \ - putchar ('\n'); \ - exit(1); \ - } + do \ + { \ + printf ("Error for " s " and i=%d\n", i); \ + printf ("Expected %s\n", exp); \ + printf ("Got "); mpfr_out_str (stdout, 16, 0, z, MPFR_RNDN); \ + putchar ('\n'); \ + exit(1); \ + } \ + while (0) const struct { const char * op1; |