summary refs log tree commit diff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 5ec089ccc0..e923795b90 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -4401,10 +4401,11 @@ main (int argc, char **argv)
   if (noErrors)
     {
       printf ("  %d errors occured.\n", noErrors);
-      exit (1);
+      return 1;
     }
   printf ("  All tests passed successfully.\n");
-  exit (0);
+
+  return 0;
 }
 
 /*