about summary refs log tree commit diff
path: root/math/libm-test-rint.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test-rint.inc')
-rw-r--r--math/libm-test-rint.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/libm-test-rint.inc b/math/libm-test-rint.inc
index b2eeb28421..56f8bde6bb 100644
--- a/math/libm-test-rint.inc
+++ b/math/libm-test-rint.inc
@@ -16,6 +16,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include "libm-test-driver.c"
+
 static const struct test_f_f_data rint_test_data[] =
   {
     TEST_f_f (rint, qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
@@ -169,6 +171,12 @@ rint_test (void)
   ALL_RM_TEST (rint, 1, rint_test_data, RUN_TEST_LOOP_f_f, END);
 }
 
+static void
+do_test (void)
+{
+  rint_test ();
+}
+
 /*
  * Local Variables:
  * mode:c