]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/libm-test-modf.inc
Run libm tests separately for each function.
[thirdparty/glibc.git] / math / libm-test-modf.inc
index e268ba67d0994822ec35d798762bede1d0132a38..fa951174ed33463ac86edc1e621de71c6327de69 100644 (file)
@@ -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_fF_f1_data modf_test_data[] =
   {
     TEST_fF_f1 (modf, plus_infty, 0, plus_infty, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
@@ -50,6 +52,12 @@ modf_test (void)
   ALL_RM_TEST (modf, 1, modf_test_data, RUN_TEST_LOOP_fF_f1, END, x);
 }
 
+static void
+do_test (void)
+{
+  modf_test ();
+}
+
 /*
  * Local Variables:
  * mode:c